Added a test for scripts
All checks were successful
/ test (push) Successful in 15s

This commit is contained in:
Eduard Urbach 2025-07-07 22:29:19 +02:00
parent 009472e6a8
commit a64b2d6ec3
Signed by: akyoto
GPG key ID: 49226B848C78F6C8
3 changed files with 2 additions and 1 deletions

7
tests/script.q Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/env q
import io
main() {
io.write("Hello\n")
}

View file

@ -5,6 +5,7 @@ import (
)
var tests = []testRun{
{"script", "", "Hello\n", 0},
{"sum", "", "", 10},
}