rdfjs / N3.js

Lightning fast, spec-compatible, streaming RDF for JavaScript
http://rdf.js.org/N3.js/
Other
714 stars 133 forks source link

vows fail on node 0.10.x #9

Closed warpr closed 11 years ago

warpr commented 11 years ago

When running "npm test" the vows test is failing.

Running vows with verbose shows:

vows bin argv []
vows bin options {
    reporter: 'dot-matrix',
    matcher: /.*/
}
vows bin discovering folder structure
vows bin discovered ./test
vows runner loading [ '/home/warp/code/node-n3/test/n3lexer-test', '/home/warp/code/node-n3/test/n3parser-test', '/home/warp/code/node-n3/test/n3store-test' ]
vows runner running N3Lexer ✗ Errored » 1 errored
RubenVerborgh commented 11 years ago

Hi @warpr, thanks for the report. Could you perhaps give me some more information? It works here:

$ npm test | tail -n 2
  ✓ OK » 130 honored (0.339s)
$ vows | tail -n 2
  ✓ OK » 130 honored (0.391s)

In particular, you might have different package versions. Mine are:

$ npm version
{ http_parser: '1.0',
  node: '0.8.11',
  v8: '3.11.10.22',
  ares: '1.7.5-DEV',
  uv: '0.8',
  zlib: '1.2.3',
  openssl: '1.0.0f',
  npm: '1.1.62',
  n3: '0.1.2' }

Could you let me know yours?

warpr commented 11 years ago

{ http_parser: '1.0', node: '0.10.11', v8: '3.14.5.9', ares: '1.9.0-DEV', uv: '0.10.11', zlib: '1.2.3', modules: '11', openssl: '1.0.1e', npm: '1.2.30', n3: '0.1.2' }

EDIT: the most obvious difference is node 0.8.x vs 0.10.x.

EDIT 2: I just tried with node v0.8.25, indeed tests pass there.

RubenVerborgh commented 11 years ago

Oh well, I need to upgrade to node 0.10 at some point (it did give difficulties for a lot of stuff in the past). Will try that now.

RubenVerborgh commented 11 years ago

So it was the vows package itself that caused problems with node 0.10.x. node-n3 itself worked fine. Nonetheless, release 0.1.3 now demands a higher version of vows so the tests run on 0.10.x. Thanks!

warpr commented 11 years ago

Great, thanks for the quick response!