summaryrefslogtreecommitdiff
path: root/testing.sh
diff options
context:
space:
mode:
authorkdx <kikoodx@paranoici.org>2023-06-10 01:56:21 +0200
committerkdx <kikoodx@paranoici.org>2023-06-10 02:02:33 +0200
commit7c0d15878c7e9ed459bebd10737499b9667f6b21 (patch)
tree6f7e2481c8e7e00cb919995de9988e406a88e4fd /testing.sh
parentdb48a58769ac267a8de49f456cb4e5b27bfddb40 (diff)
downloadgolem-7c0d15878c7e9ed459bebd10737499b9667f6b21.tar.gz
wrt builtin
Diffstat (limited to 'testing.sh')
-rwxr-xr-xtesting.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/testing.sh b/testing.sh
index e846bde..b1db4ea 100755
--- a/testing.sh
+++ b/testing.sh
@@ -20,4 +20,5 @@ test "$1" "global abc; main(){ return abc; }"
test "$1" "global abc = 5; main(){ return abc; }"
test "$1" "main(){ return abc; } global abc = 5;"
test "$1" "global abc = 5; main(){ inc(); return abc; } inc() { abc = abc + 1; }"
+test "$1" "main() { wrt('H'); wrt('e'); wrt('l'); wrt('l'); wrt('o'); wrt('!'); wrt('\n'); }"
rm -f build/tmp.*