forked from MapComplete/MapComplete
Various bug fixes and updates
This commit is contained in:
parent
97ec893479
commit
e069b31e4e
29 changed files with 482 additions and 148 deletions
|
@ -54,14 +54,22 @@ new T([
|
|||
}
|
||||
],
|
||||
condition: "x="
|
||||
});
|
||||
}, "");
|
||||
|
||||
equal(true, tr.IsKnown({"noname": "yes"}));
|
||||
equal(true, tr.IsKnown({"name": "ABC"}));
|
||||
equal(false, tr.IsKnown({"foo": "bar"}));
|
||||
equal("Has no name", tr.GetContent({"noname": "yes"}));
|
||||
equal("Ook een xyz", tr.GetContent({"name": "xyz"}));
|
||||
equal("Ook een {name}", tr.GetContent({"foo": "bar"}));
|
||||
equal("Has no name", tr.GetContent({"noname": "yes"})?.txt);
|
||||
equal("Ook een xyz", tr.GetContent({"name": "xyz"})?.txt);
|
||||
equal(undefined, tr.GetContent({"foo": "bar"}));
|
||||
|
||||
})]
|
||||
})],
|
||||
[
|
||||
"Select right value test",
|
||||
() => {
|
||||
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue