Merge pull request #7943 from Snuffleupagus/fixtures-test-fixes
Various fixes for the `external/builder/test*.js` files
This commit is contained in:
commit
cf7a9f99c8
@ -6,6 +6,7 @@ examples/
|
||||
external/bcmaps/
|
||||
external/webL10n/
|
||||
external/cmapscompress/
|
||||
external/builder/fixtures/
|
||||
external/builder/fixtures_esprima/
|
||||
test/tmp/
|
||||
test/features/
|
||||
|
11
external/builder/fixtures/.eslintrc
vendored
11
external/builder/fixtures/.eslintrc
vendored
@ -1,11 +0,0 @@
|
||||
{
|
||||
"extends": [
|
||||
../../.eslintrc
|
||||
],
|
||||
|
||||
"rules": {
|
||||
"no-empty": "off",
|
||||
"keyword-spacing": "off",
|
||||
"space-infix-ops": "off",
|
||||
},
|
||||
}
|
@ -30,6 +30,8 @@ ls('*-expected.*').forEach(function(expectationFilename) {
|
||||
out = ('Error: ' + e.message).replace(/^/gm, '//');
|
||||
}
|
||||
if (out !== expectation) {
|
||||
errors++;
|
||||
|
||||
echo('Assertion failed for ' + inFilename);
|
||||
echo('--------------------------------------------------');
|
||||
echo('EXPECTED:');
|
@ -33,6 +33,8 @@ ls('*-expected.*').forEach(function(expectationFilename) {
|
||||
out = ('Error: ' + e.message).replace(/^/gm, '//');
|
||||
}
|
||||
if (out !== expectation) {
|
||||
errors++;
|
||||
|
||||
echo('Assertion failed for ' + inFilename);
|
||||
echo('--------------------------------------------------');
|
||||
echo('EXPECTED:');
|
Loading…
x
Reference in New Issue
Block a user