Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update the test cases for the new array output syntax.

  • Loading branch information...
commit 619055d769ef26f084cae245f7878b86e44f6fe1 1 parent 59626d6
@rstacruz rstacruz authored
View
4 test/features/array_literals.coffee
@@ -1,3 +1,3 @@
arr1 = []
-arr2 = [ 1, 3, 4 ]
-console.log arr2[1][0] is [ 4 ]
+arr2 = [1, 3, 4]
+console.log arr2[1][0] is [4]
View
2  test/features/destructuring_assignment.coffee
@@ -1 +1 @@
-[ a, b ] = [ b, a ]
+[a, b] = [b, a]
View
10 test/features/destructuring_in_functions.coffee
@@ -1,14 +1,14 @@
-([ a ]) ->
+([a]) ->
true
-([ a, b ]) ->
+([a, b]) ->
true
-([ a, b ], c) ->
+([a, b], c) ->
true
-(x, [ a, b ]) ->
+(x, [a, b]) ->
true
-(x, [ a, b ], c) ->
+(x, [a, b], c) ->
true
View
2  test/features/object_literals.coffee
@@ -8,5 +8,5 @@ $.get
data:
2: "post"
- lol: [ 2, 3 ]
+ lol: [2, 3]
, 2
Please sign in to comment.
Something went wrong with that request. Please try again.