mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Added a mustfail test
This commit is contained in:
5
test/scripts/mustfail/string-concat.toy
Normal file
5
test/scripts/mustfail/string-concat.toy
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
var s = "foo" - "bar";
|
||||||
|
}
|
||||||
|
|
||||||
|
print "All good";
|
||||||
@@ -100,6 +100,7 @@ int main() {
|
|||||||
"declare-types-dictionary-key.toy",
|
"declare-types-dictionary-key.toy",
|
||||||
"declare-types-dictionary-value.toy",
|
"declare-types-dictionary-value.toy",
|
||||||
"index-arrays-non-integer.toy",
|
"index-arrays-non-integer.toy",
|
||||||
|
"string-concat.toy",
|
||||||
"unary-inverted-nothing.toy",
|
"unary-inverted-nothing.toy",
|
||||||
"unary-negative-nothing.toy",
|
"unary-negative-nothing.toy",
|
||||||
NULL
|
NULL
|
||||||
|
|||||||
Reference in New Issue
Block a user