Skip to content

Commit

Permalink
test(includer): rename first param (url -> original)
Browse files Browse the repository at this point in the history
  • Loading branch information
leomp12 committed May 16, 2020
1 parent 247c0e2 commit 6e21968
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ejs.js
Original file line number Diff line number Diff line change
@@ -1017,7 +1017,7 @@ suite('include()', function () {
test('include ejs with includer returning template', function () {
var file = 'test/fixtures/include-root.ejs';
var inc = function (original, prev) {
if (original === '/include.ejs') {
if (prev === '/include.ejs') {
return {
template: '<p>Hello template!</p>\n'
};

0 comments on commit 6e21968

Please sign in to comment.