forked from Mirror/wren
Merge branch 'feature-shebang-support' of git://github.com/mauvm/wren into mauvm-feature-shebang-support
This commit is contained in:
2
test/shebang/shebang.wren
Normal file
2
test/shebang/shebang.wren
Normal file
@ -0,0 +1,2 @@
|
||||
#!/bin/wren
|
||||
IO.print("ok") // expect: ok
|
||||
1
test/shebang/shebang_at_eof.wren
Normal file
1
test/shebang/shebang_at_eof.wren
Normal file
@ -0,0 +1 @@
|
||||
#!/bin/wren
|
||||
3
test/shebang/shebang_at_other_line.wren
Normal file
3
test/shebang/shebang_at_other_line.wren
Normal file
@ -0,0 +1,3 @@
|
||||
// expect error line 3
|
||||
IO.print("nope")
|
||||
#!/bin/wren
|
||||
3
test/shebang/shebang_invalid.wren
Normal file
3
test/shebang/shebang_invalid.wren
Normal file
@ -0,0 +1,3 @@
|
||||
#/invalid/shebang
|
||||
// expect error line 1
|
||||
IO.print("nope")
|
||||
Reference in New Issue
Block a user