Rename test scripts

This commit is contained in:
Scott Richmond 2022-04-25 19:22:44 -04:00
parent a84e232cc7
commit 4633941e08
3 changed files with 9 additions and 9 deletions

5
bar.ld
View File

@ -1,5 +0,0 @@
ns Bar {
:foo :foo
:bar :bar
:baz "baz"
}

5
foo.ld Normal file
View File

@ -0,0 +1,5 @@
ns Foo {
:foo :foo
:bar 42
:baz "quux"
}

View File

@ -1,7 +1,7 @@
import "bar.ld" as Bar
import "bar.ld" as Bart
print ("Bar :foo should be :foo. It is ", Bar :foo)
print ("Bar :foo should be :foo. It is ", Bart :foo)
print ("But if I do something naughty, Ludus will panic")
print ("But if I do something naughty like accessing something that isn't in an ns, Ludus will panic")
panic! ("oops", :foo, 42)
Bart :quux