Permalink
Browse files

TEST - removed references to BabelBridge - now CaffeineEight

ALL TESTS PASSING
  • Loading branch information...
shanebdavis committed Sep 26, 2017
1 parent 4d6662b commit d6567eba48114cdac827f2430b0763df4fbe1691
View
@@ -1,4 +1,4 @@
class JsonParser extends &BabelBridge.Parser
class JsonParser extends &CaffeineEight.Parser
@rule
root: :array :object
@@ -14,12 +14,12 @@ module.exports = suite: parseTestSuite
"new Foo.Bar": "new Foo.Bar;"
regressions:
"new &BabelBridge 123": knownFailing: "(new require('babel-bridge'))(123)"
"new BabelBridge 123": "new BabelBridge(123);"
"new &CaffeineEight 123": knownFailing: "(new require('caffeine-eight'))(123)"
"new CaffeineEight 123": "new CaffeineEight(123);"
"new require('babel-bridge') 123": knownFailing: "(new require('babel-bridge'))(123)"
"new require 'babel-bridge' 123": 'new require("babel-bridge", 123);'
"new require 'babel-bridge'": 'new require("babel-bridge");'
"new require('caffeine-eight') 123": knownFailing: "(new require('caffeine-eight'))(123)"
"new require 'caffeine-eight' 123": 'new require("caffeine-eight", 123);'
"new require 'caffeine-eight'": 'new require("caffeine-eight");'
definition:
basic:
@@ -11,17 +11,17 @@ module.exports = suite: parseTestSuite {
npm:
basic:
"&BabelBridge": "require('babel-bridge');"
"&babelBridge": "require('babel-bridge');"
"&babel_bridge": "require('babel-bridge');"
"&babel-bridge": "require('babel-bridge');"
"&CaffeineEight": "require('caffeine-eight');"
"&caffeineEight": "require('caffeine-eight');"
"&caffeine_eight": "require('caffeine-eight');"
"&caffeine-eight": "require('caffeine-eight');"
pathed:
"&ArtStandardLib/Types": "require('art-standard-lib/Types');"
asValue:
"foo &BabelBridge": "foo(require('babel-bridge'));"
"&BabelBridge.Parser": "require('babel-bridge').Parser;"
"foo &CaffeineEight": "foo(require('caffeine-eight'));"
"&CaffeineEight.Parser": "require('caffeine-eight').Parser;"
local:
basic:
@@ -41,32 +41,32 @@ module.exports = suite: parseTestSuite {
regressions:
"""
import &ArtStandardLib
&BabelBridge
""": "require('babel-bridge');"
&CaffeineEight
""": "require('caffeine-eight');"
"""
import &ArtStandardLib
&BabelBridge
&CaffeineEight
foo
""": "
let foo;
({foo} = Caf.import([\"foo\"], [global, require('art-standard-lib')]));require('babel-bridge');
({foo} = Caf.import([\"foo\"], [global, require('art-standard-lib')]));require('caffeine-eight');
foo;
"
"-> &Lib": "(function() {return require('./Lib');});"
"""
&BabelBridge
&CaffeineEight
->
&BabelBridge
""": "require('babel-bridge'); (function() {return require('babel-bridge');});"
&CaffeineEight
""": "require('caffeine-eight'); (function() {return require('caffeine-eight');});"
"""
&BabelBridge
&CaffeineEight
&ArtStandardLib
""":
"
require('babel-bridge');
require('caffeine-eight');
require('art-standard-lib');
"

0 comments on commit d6567eb

Please sign in to comment.