test: add shebang test cases for wren scripts
Add three test files covering shebang line handling: a valid shebang with expected output, a shebang at end-of-file without newline, and a shebang on a non-first line expected to produce an error.
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
#!/bin/wren
|
||||||
|
IO.print("ok") // expect: ok
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
#!/bin/wren
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
// expect error line 3
|
||||||
|
IO.print("nope")
|
||||||
|
#!/bin/wren
|
||||||
Reference in New Issue
Block a user