summaryrefslogtreecommitdiffstats
path: root/tests/2.rstest
diff options
context:
space:
mode:
Diffstat (limited to 'tests/2.rstest')
-rw-r--r--tests/2.rstest10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/2.rstest b/tests/2.rstest
new file mode 100644
index 00000000..7fb5b799
--- /dev/null
+++ b/tests/2.rstest
@@ -0,0 +1,10 @@
+# a simple RainerScript test
+result: 0
+in:
+$msg contains 'test' then
+$$$
+out:
+00000000: PUSHMSGVAR msg[cstr]
+00000001: PUSHCONSTANT test[cstr]
+00000002: contains
+$$$