mur-common 2.71.21

Shared types and traits for the MUR ecosystem
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use mur_common::companion::content_seed::{MORNING_GREETING_EN_US, MORNING_GREETING_ZH_TW};

#[test]
fn morning_greeting_has_first_memory_template_en() {
    assert!(
        MORNING_GREETING_EN_US.contains("{{FIRST_MEMORY}}"),
        "expected at least one en-US morning_greeting template referencing {{{{FIRST_MEMORY}}}}: {MORNING_GREETING_EN_US}",
    );
}

#[test]
fn morning_greeting_has_first_memory_template_zh_tw() {
    assert!(
        MORNING_GREETING_ZH_TW.contains("{{FIRST_MEMORY}}"),
        "expected at least one zh-TW morning_greeting template referencing {{{{FIRST_MEMORY}}}}: {MORNING_GREETING_ZH_TW}",
    );
}