diff --git a/test/test_destructuring_assignment.coffee b/test/test_pattern_matching.coffee similarity index 93% rename from test/test_destructuring_assignment.coffee rename to test/test_pattern_matching.coffee index c32ea15f..856c9e78 100644 --- a/test/test_destructuring_assignment.coffee +++ b/test/test_pattern_matching.coffee @@ -13,6 +13,13 @@ func: -> 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] [a, b, c]: arr