Skip to content

Tests failing on node v4.x #4610

@MylesBorins

Description

@MylesBorins

Seems like you are using a RegExp feature that is not supported in v4.x

The failure is caused by the test found on line 290 of test/regexps.coffee

failed 1 and passed 852 tests in 3.70 seconds

  #4248: Unicode code point escapes
  SyntaxError: Invalid flags supplied to RegExp constructor 'u'
    at new RegExp (native)
    at Function.<anonymous> (/Users/mborins/code/coffeescript/test/regexps.coffee:1:1)
    at global.test (/Users/mborins/code/coffeescript/Cakefile:1:1)
    at Object.<anonymous> (/Users/mborins/code/coffeescript/test/regexps.coffee:1:1)
    at Object.<anonymous> (/Users/mborins/code/coffeescript/test/regexps.coffee:1:1)
    at Module._compile (module.js:1:1)
    at Object.exports.run (/Users/mborins/code/coffeescript/lib/coffee-script/coffee-script.js:1:1)
    at runTests (/Users/mborins/code/coffeescript/Cakefile:1:1)
    at Object.action (/Users/mborins/code/coffeescript/Cakefile:1:1)
    at helpers.extend.invoke (/Users/mborins/code/coffeescript/lib/coffee-script/cake.js:1:1)
    at Object.exports.run (/Users/mborins/code/coffeescript/lib/coffee-script/cake.js:1:1)
    at Object.<anonymous> (/Users/mborins/code/coffeescript/bin/cake:1:1)
    at Module._compile (module.js:1:1)
    at Object.Module._extensions..js (module.js:1:1)
    at Module.load (module.js:1:1)
    at Function.Module._load (module.js:1:1)
    at Function.Module.runMain (module.js:1:1)
    at startup (node.js:1:1)
    at node.js:1:1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions