directive: compiles now, test structure still in progress
This commit is contained in:
parent
bf1eaf7ea3
commit
3fd74b7fd5
@ -281,9 +281,9 @@ mod tests {
|
|||||||
("speech", Type::Speech),
|
("speech", Type::Speech),
|
||||||
("character", Type::Character),
|
("character", Type::Character),
|
||||||
("duration", Type::Duration),
|
("duration", Type::Duration),
|
||||||
("scene", Type::Asset { tags: ["scene"] }),
|
("scene", Type::Asset { tags: Vec::from(["scene"].map(String::from)) }),
|
||||||
("background", Type::Asset { tags: ["background"] }),
|
("background", Type::Asset { tags: Vec::from(["background"].map(String::from)) }),
|
||||||
("stage position", Type::Enum(["close", "left third", "right third", "left", "center", "right", "far left", "mid left", "mid right", "far right", "far"])),
|
("stage position", Type::Enum(Vec::from(["close", "left third", "right third", "left", "center", "right", "far left", "mid left", "mid right", "far right", "far"].map(String::from)))),
|
||||||
].map(|(k, v)| (k.into(), v))),
|
].map(|(k, v)| (k.into(), v))),
|
||||||
directives: BTreeMap::from([
|
directives: BTreeMap::from([
|
||||||
("page", Directive {
|
("page", Directive {
|
||||||
|
Loading…
Reference in New Issue
Block a user