Permalink
Browse files

legible regex

  • Loading branch information...
1 parent d341262 commit 994b93b772a1aa61c8ef2441773e05bec61e7a71 @jaekwon committed Jan 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/function_invocation.coffee
@@ -555,7 +555,7 @@ test "#1896: recursive implicit object braces and function parentheses", ->
[a, b, c, d, e, f, g, h] = 'abcdefgh'
makeFunc = (name) ->
(args...) ->
- "#{name}(#{inspect(args).replace(/'|\[|\]/g, '')})"
+ "#{name}(#{inspect(args).replace(/'|\]|\[/g, '')})"
func = makeFunc 'func'
local (f, g) ->

0 comments on commit 994b93b

Please sign in to comment.