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/bcmaps/
|
||||||
external/webL10n/
|
external/webL10n/
|
||||||
external/cmapscompress/
|
external/cmapscompress/
|
||||||
|
external/builder/fixtures/
|
||||||
external/builder/fixtures_esprima/
|
external/builder/fixtures_esprima/
|
||||||
test/tmp/
|
test/tmp/
|
||||||
test/features/
|
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, '//');
|
out = ('Error: ' + e.message).replace(/^/gm, '//');
|
||||||
}
|
}
|
||||||
if (out !== expectation) {
|
if (out !== expectation) {
|
||||||
|
errors++;
|
||||||
|
|
||||||
echo('Assertion failed for ' + inFilename);
|
echo('Assertion failed for ' + inFilename);
|
||||||
echo('--------------------------------------------------');
|
echo('--------------------------------------------------');
|
||||||
echo('EXPECTED:');
|
echo('EXPECTED:');
|
@ -33,6 +33,8 @@ ls('*-expected.*').forEach(function(expectationFilename) {
|
|||||||
out = ('Error: ' + e.message).replace(/^/gm, '//');
|
out = ('Error: ' + e.message).replace(/^/gm, '//');
|
||||||
}
|
}
|
||||||
if (out !== expectation) {
|
if (out !== expectation) {
|
||||||
|
errors++;
|
||||||
|
|
||||||
echo('Assertion failed for ' + inFilename);
|
echo('Assertion failed for ' + inFilename);
|
||||||
echo('--------------------------------------------------');
|
echo('--------------------------------------------------');
|
||||||
echo('EXPECTED:');
|
echo('EXPECTED:');
|
Loading…
x
Reference in New Issue
Block a user