[Pkg-javascript-devel] Bug#869988: highlight.js FTBFS: AssertionError: expected 'htmlbars' to be 'handlebars'

Adrian Bunk bunk at debian.org
Fri Jul 28 13:34:09 UTC 2017


Source: highlight.js
Version: 9.12.0+dfsg1-1
Severity: serious

https://buildd.debian.org/status/fetch.php?pkg=highlight.js&arch=all&ver=9.12.0%2Bdfsg1-1&stamp=1501157922&raw=0

...
  292 passing (17s)
  1 failing

  1) hljs.highlightAuto() should be detected as handlebars:

      AssertionError: expected 'htmlbars' to be 'handlebars'      
      actual expected
      
      "htmlbarshandlebars"
      
      at Assertion.fail (/usr/lib/nodejs/should/lib/assertion.js:92:17)
      at Assertion.Object.defineProperty.value (/usr/lib/nodejs/should/lib/assertion.js:164:19)
      at /<<BUILDDIR>>/highlight.js-9.12.0+dfsg1/test/detect/index.js:27:23
      at Array.forEach (native)
      at Context.<anonymous> (/<<BUILDDIR>>/highlight.js-9.12.0+dfsg1/test/detect/index.js:23:8)
      at callFn (/usr/lib/nodejs/mocha/lib/runnable.js:223:21)
      at Test.Runnable.run (/usr/lib/nodejs/mocha/lib/runnable.js:216:7)
      at Runner.runTest (/usr/lib/nodejs/mocha/lib/runner.js:373:10)
      at /usr/lib/nodejs/mocha/lib/runner.js:451:12
      at next (/usr/lib/nodejs/mocha/lib/runner.js:298:14)
      at /usr/lib/nodejs/mocha/lib/runner.js:308:7
      at next (/usr/lib/nodejs/mocha/lib/runner.js:246:23)
      at Immediate._onImmediate (/usr/lib/nodejs/mocha/lib/runner.js:275:5)
      at processImmediate [as _immediateCallback] (timers.js:396:17)



debian/rules:18: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1



More information about the Pkg-javascript-devel mailing list