Skip to content

Commit

Permalink
test: do not use .apply.call()
Browse files Browse the repository at this point in the history
  • Loading branch information
indutny committed Jul 27, 2015
1 parent 6c50202 commit 51e468f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fixtures.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function test(fn, data, expected, options) {
var count = options.count || 1;
for (var i = 0; i < count; i++) {
try {
assert.equal(template.apply.call(data || {}), expected, i);
assert.equal(template.apply(data), expected, i);
} catch (e) {
console.error(e.stack);
throw e;
Expand Down

0 comments on commit 51e468f

Please sign in to comment.