about summary refs log tree commit diff stats
path: root/js/scripting-lang/scratch_tests/test_simple_bracket.txt
diff options
context:
space:
mode:
Diffstat (limited to 'js/scripting-lang/scratch_tests/test_simple_bracket.txt')
-rw-r--r--js/scripting-lang/scratch_tests/test_simple_bracket.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/js/scripting-lang/scratch_tests/test_simple_bracket.txt b/js/scripting-lang/scratch_tests/test_simple_bracket.txt
new file mode 100644
index 0000000..6ab9dba
--- /dev/null
+++ b/js/scripting-lang/scratch_tests/test_simple_bracket.txt
@@ -0,0 +1,9 @@
+/* Simple test for bracket notation */
+
+numbers : {1, 2, 3, 4, 5};
+first : numbers[1];
+second : numbers[2];
+..assert first = 1;
+..assert second = 2;
+
+..out "Bracket notation test completed"; 
\ No newline at end of file