Index: lib/src/prism/tests/languages/smalltalk/temporary-variables_feature.test |
diff --git a/lib/src/prism/tests/languages/smalltalk/temporary-variables_feature.test b/lib/src/prism/tests/languages/smalltalk/temporary-variables_feature.test |
new file mode 100644 |
index 0000000000000000000000000000000000000000..8d74a24b1a6ed489ad9743609da287ca1eea2668 |
--- /dev/null |
+++ b/lib/src/prism/tests/languages/smalltalk/temporary-variables_feature.test |
@@ -0,0 +1,25 @@ |
+| foo | |
+| x y myVar z cnt | |
+ |
+---------------------------------------------------- |
+ |
+[ |
+ ["temporary-variables", [ |
+ ["punctuation", "|"], |
+ ["variable", "foo"], |
+ ["punctuation", "|"] |
+ ]], |
+ ["temporary-variables", [ |
+ ["punctuation", "|"], |
+ ["variable", "x"], |
+ ["variable", "y"], |
+ ["variable", "myVar"], |
+ ["variable", "z"], |
+ ["variable", "cnt"], |
+ ["punctuation", "|"] |
+ ]] |
+] |
+ |
+---------------------------------------------------- |
+ |
+Checks for temporary variables. |