Skip to content

Commit

Permalink
More better
Browse files Browse the repository at this point in the history
  • Loading branch information
GeoffreyBooth committed Jul 16, 2017
1 parent c83c47d commit 677312a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/v1/test.html
Expand Up @@ -10326,7 +10326,7 @@ <h1>CoffeeScript Test Suite</h1>

test "#4248: Unicode code point escapes", ->
# Support for the `u` flag in regexes was added in Node 6.
return unless new RegExp().unicode isnt undefined
return if new RegExp().unicode is undefined
ok /a\u{1ab}c/u.test 'a\u01abc'
ok ///#{ 'a' }\u{000001ab}c///u.test 'a\u{1ab}c'
ok ///a\u{000001ab}c///u.test 'a\u{1ab}c'
Expand Down
2 changes: 1 addition & 1 deletion test/regexps.coffee
Expand Up @@ -289,7 +289,7 @@ test "#3795: Escape otherwise invalid characters", ->

test "#4248: Unicode code point escapes", ->
# Support for the `u` flag in regexes was added in Node 6.
return unless new RegExp().unicode isnt undefined
return if new RegExp().unicode is undefined
ok /a\u{1ab}c/u.test 'a\u01abc'
ok ///#{ 'a' }\u{000001ab}c///u.test 'a\u{1ab}c'
ok ///a\u{000001ab}c///u.test 'a\u{1ab}c'
Expand Down

0 comments on commit 677312a

Please sign in to comment.