mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-19 16:54:08 +10:00
Moved tests from scripts/ to test/scripts/
This commit is contained in:
8
test/scripts/panic-within-functions.toy
Normal file
8
test/scripts/panic-within-functions.toy
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
fn panic() {
|
||||
assert false, "!ignore panicking within a function";
|
||||
}
|
||||
|
||||
panic();
|
||||
panic();
|
||||
Reference in New Issue
Block a user