Skip to content

Commit

Permalink
fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
phated committed Apr 9, 2014
1 parent 95147f4 commit 109e34a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/fixtures/helloworld.jade
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
h1 Hello, tester!
h2 title
h2= title
2 changes: 1 addition & 1 deletion test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function expectStream(t, options){
return through.obj(function(file, enc, cb){
options.filename = filename;
var compiled = compiler(fs.readFileSync(filename), options);
var expected = options.client ? compiled : compiled(options.data);
var expected = options.client ? compiled : compiled(options.data || options.locals);
t.equal(expected, String(file.contents));
t.equal(extname(file.path), ext);
if(file.relative){
Expand Down

0 comments on commit 109e34a

Please sign in to comment.