updated the test
This commit is contained in:
parent
860a28802e
commit
590461d88a
3 changed files with 16 additions and 0 deletions
5
tests/modules/mexport2a.nim
Normal file
5
tests/modules/mexport2a.nim
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
|
||||||
|
import mexport2b
|
||||||
|
export mexport2b
|
||||||
|
proc printAbc*() = echo "abc"
|
||||||
|
|
||||||
1
tests/modules/mexport2b.nim
Normal file
1
tests/modules/mexport2b.nim
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
proc printXyz*() = echo "xyz"
|
||||||
10
tests/modules/texport2.nim
Normal file
10
tests/modules/texport2.nim
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
# bug #1595
|
||||||
|
|
||||||
|
import mexport2a
|
||||||
|
|
||||||
|
proc main() =
|
||||||
|
echo "Import Test, two lines should follow. One with abc and one with xyz."
|
||||||
|
printAbc()
|
||||||
|
printXyz()
|
||||||
|
|
||||||
|
main()
|
||||||
Loading…
Add table
Add a link
Reference in a new issue