[fine] Tests to drive import work
This commit is contained in:
parent
aac5c6257f
commit
2093502031
2 changed files with 11 additions and 0 deletions
3
fine/tests/modules/foo.fine
Normal file
3
fine/tests/modules/foo.fine
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
export fun hello() -> string {
|
||||
"hello"
|
||||
}
|
||||
8
fine/tests/modules/import.fine
Normal file
8
fine/tests/modules/import.fine
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import "./foo" as foo;
|
||||
|
||||
fun test() -> string {
|
||||
foo.hello() + " world"
|
||||
}
|
||||
|
||||
// @ignore WIP
|
||||
// @no-errors
|
||||
Loading…
Add table
Add a link
Reference in a new issue