https://bugzilla.redhat.com/show_bug.cgi?id=1265321
--- Comment #3 from Tom Hughes tom@compton.nu --- You don't actually need grunt-mocha or grunt-jshint to run the test, you just need to run mocha directly with:
mocha -R spec test/*-test.js
which is all the Gruntfile is going to do anyway.
I'm seeing two failures though:
1) MO Compiler UTF-8 should compile: AssertionError: expected { Object (0, 1, ...) } to deeply equal { Object (0, 1, ...) } + expected - actual "20": 0, "21": 0, "22": 0, "23": 0, + "24": 76, - "24": 124, "25": 0, "26": 0, "27": 0, "28": 0, "688": 197, "689": 161, "690": 0, "length": 691, + "offset": 5504, - "offset": 6808, "parent": { "0": 39, "1": 117, "2": 115,
at Assertion.assertEql (/usr/lib/node_modules/chai/lib/chai/core/assertions.js:489:10) at Assertion.ctx.(anonymous function) [as eql] (/usr/lib/node_modules/chai/lib/chai/utils/addMethod.js:40:25) at Assertion.assertEqual (/usr/lib/node_modules/chai/lib/chai/core/assertions.js:455:19) at Assertion.ctx.(anonymous function) [as equal] (/usr/lib/node_modules/chai/lib/chai/utils/addMethod.js:40:25) at Context.<anonymous> (/builddir/build/BUILD/gettext-parser-1.1.1/test/mo-compiler-test.js:18:38) at callFn (/usr/lib/node_modules/mocha/lib/runnable.js:223:21) at Test.Runnable.run (/usr/lib/node_modules/mocha/lib/runnable.js:216:7) at Runner.runTest (/usr/lib/node_modules/mocha/lib/runner.js:374:10) at /usr/lib/node_modules/mocha/lib/runner.js:452:12 at next (/usr/lib/node_modules/mocha/lib/runner.js:299:14) at /usr/lib/node_modules/mocha/lib/runner.js:309:7 at next (/usr/lib/node_modules/mocha/lib/runner.js:247:23) at Object._onImmediate (/usr/lib/node_modules/mocha/lib/runner.js:276:5) at processImmediate [as _immediateCallback] (timers.js:354:15)
2) MO Compiler Latin-13 should compile: AssertionError: expected { Object (0, 1, ...) } to deeply equal { Object (0, 1, ...) } + expected - actual "20": 0, "21": 0, "22": 0, "23": 0, + "24": 76, - "24": 124, "25": 0, "26": 0, "27": 0, "28": 0, "694": 254, "695": 240, "696": 0, "length": 697, + "offset": 2408, - "offset": 4544, "parent": { "0": 123, "1": 10, "2": 32,
at Assertion.assertEql (/usr/lib/node_modules/chai/lib/chai/core/assertions.js:489:10) at Assertion.ctx.(anonymous function) [as eql] (/usr/lib/node_modules/chai/lib/chai/utils/addMethod.js:40:25) at Assertion.assertEqual (/usr/lib/node_modules/chai/lib/chai/core/assertions.js:455:19) at Assertion.ctx.(anonymous function) [as equal] (/usr/lib/node_modules/chai/lib/chai/utils/addMethod.js:40:25) at Context.<anonymous> (/builddir/build/BUILD/gettext-parser-1.1.1/test/mo-compiler-test.js:27:38) at callFn (/usr/lib/node_modules/mocha/lib/runnable.js:223:21) at Test.Runnable.run (/usr/lib/node_modules/mocha/lib/runnable.js:216:7) at Runner.runTest (/usr/lib/node_modules/mocha/lib/runner.js:374:10) at /usr/lib/node_modules/mocha/lib/runner.js:452:12 at next (/usr/lib/node_modules/mocha/lib/runner.js:299:14) at /usr/lib/node_modules/mocha/lib/runner.js:309:7 at next (/usr/lib/node_modules/mocha/lib/runner.js:247:23) at Object._onImmediate (/usr/lib/node_modules/mocha/lib/runner.js:276:5) at processImmediate [as _immediateCallback] (timers.js:354:15)