summaryrefslogtreecommitdiff
path: root/tests/scripts/good/4.aplwc
diff options
context:
space:
mode:
authorpeter <peter@pmikkelsen.com>2026-10-07 19:14:04 +0000
committerpeter <peter@pmikkelsen.com>2026-10-07 19:14:04 +0000
commit66993321af1e67570469a2b9a9731492d0aaff5b (patch)
tree963db5f8777efaf73283ed9ca7d8e3a24d61ea6e /tests/scripts/good/4.aplwc
parent09a882746304791e9462bec3df746f9203594d34 (diff)
[de3a009ef3] Write a very basic "hello world" test which verifies that the program outputs the correct message.
This fails for now, as the interpreter isn't implemented yet, but it's a good way to start doing test-driven development. FossilOrigin-Name: f34934025a9f22b574c1076b05673b94a4f40d8a55c723fced7c055155042c57
Diffstat (limited to 'tests/scripts/good/4.aplwc')
-rw-r--r--tests/scripts/good/4.aplwc6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/scripts/good/4.aplwc b/tests/scripts/good/4.aplwc
new file mode 100644
index 0000000..a260efc
--- /dev/null
+++ b/tests/scripts/good/4.aplwc
@@ -0,0 +1,6 @@
+:module Main
+:run Main
+
+∇ Main
+ ⎕←'Hello from aplwc'
+∇