summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/examplefiles/example_file.fy16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/examplefiles/example_file.fy b/tests/examplefiles/example_file.fy
index 12b3d969..43e80c1d 100644
--- a/tests/examplefiles/example_file.fy
+++ b/tests/examplefiles/example_file.fy
@@ -110,3 +110,19 @@ pm match_with_extract: "Hello : World!"
[3, 2, 1] reverse() each() |a| { puts(a) }
"Hello" sub("ll", "y") println
[3, 2, 1] map() |a| { a * 2 } inject(0) |s i| { s + i } println
+
+# test symbol highlighting
+['foo]
+['foo?!]
+{'foo}
+{'foo!?}
+{'foo:bar?!=&/:}
+('foo)
+
+# future sends
+42 @ to_s class println
+42 @ to_s: 16 . value println
+
+# async sends
+42 @@ println
+42 @@ upto: 100