Chromium Code Reviews| Index: lib/src/prism/tests/languages/smalltalk/block-arguments_feature.test |
| diff --git a/lib/src/prism/tests/languages/smalltalk/block-arguments_feature.test b/lib/src/prism/tests/languages/smalltalk/block-arguments_feature.test |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..9de3b3eaa231814c50afd826c3d3970278104feb |
| --- /dev/null |
| +++ b/lib/src/prism/tests/languages/smalltalk/block-arguments_feature.test |
| @@ -0,0 +1,26 @@ |
| +[ :i | |
| +] |
| +[ :a :b | |
| +] |
| + |
| +---------------------------------------------------- |
| + |
| +[ |
| + ["punctuation", "["], |
| + ["block-arguments", [ |
| + ["variable", ":i"], |
| + ["punctuation", "|"] |
| + ]], |
| + ["punctuation", "]"], |
| + ["punctuation", "["], |
| + ["block-arguments", [ |
| + ["variable", ":a"], |
| + ["variable", ":b"], |
| + ["punctuation", "|"] |
| + ]], |
| + ["punctuation", "]"] |
| +] |
| + |
| +---------------------------------------------------- |
| + |
| +Checks for block arguments. |