mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Moved tests from scripts/ to test/scripts/
This commit is contained in:
9
test/scripts/dottify-bugfix.toy
Normal file
9
test/scripts/dottify-bugfix.toy
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
fn _add(self, inc) {
|
||||
return self + inc;
|
||||
}
|
||||
|
||||
assert 1.add(2).add(3).add(4) == 10, "dottify bugfix failed";
|
||||
|
||||
|
||||
print "All good";
|
||||
Reference in New Issue
Block a user