adding a test for nested pattern matching

This commit is contained in:
Jeremy Ashkenas
2010-02-25 07:31:33 -05:00
parent 4ed51536bb
commit eab9bbf04f

View File

@@ -13,6 +13,13 @@ func: ->
ok func().join(' ') is '-1 -2' ok func().join(' ') is '-1 -2'
noop: ->
noop [a,b]: [c,d]: [1,2]
ok a is 1 and b is 2
arr: [1, 2, 3] arr: [1, 2, 3]
[a, b, c]: arr [a, b, c]: arr