summaryrefslogtreecommitdiff
path: root/tests/examplefiles/function_arrows.coffee
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examplefiles/function_arrows.coffee')
-rw-r--r--tests/examplefiles/function_arrows.coffee11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/examplefiles/function_arrows.coffee b/tests/examplefiles/function_arrows.coffee
new file mode 100644
index 00000000..cd1ef1e8
--- /dev/null
+++ b/tests/examplefiles/function_arrows.coffee
@@ -0,0 +1,11 @@
+methodA:-> 'A'
+methodB:=> 'B'
+methodC:()=> 'C'
+methodD:()-> 'D'
+methodE:(a,b)-> 'E'
+methodF:(c,d)-> 'F'
+-> 'G'
+=> 'H'
+
+(-> 'I')
+(=> 'J')