Skip to content

Commit

Permalink
fixed require()s in node.js tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dannimda committed Apr 29, 2010
1 parent f51d16c commit 34f6623
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions jathnodetest.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
Initial test case for node.js support
run test using node on the commandline:
% node jathnodetest.js
*/

var xml = require('/home/dannimda/jath/libxmljs');
var xml = require('libxmljs');
var sys = require('sys');
var jath = require('/home/dannimda/jath/jathnode');
var jath = require('jath');
var template = [ "//label", { id: "@id", added: "@added" } ];
var testFile = xml.parseXmlFile('labels.xml');

Expand Down

0 comments on commit 34f6623

Please sign in to comment.