8000 Update unit test with `_.templateSettings.variable` change. · lodash/lodash@8ef039b · GitHub
[go: up one dir, main page]

Skip to content

Commit 8ef039b

Browse files
committed
Update unit test with _.templateSettings.variable change.
Former-commit-id: e29718c70b0b0bcfeaf54909a32366d12663984d
1 parent 3d2428b commit 8ef039b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@
402402

403403
(function() {
404404
test('supports recursive calls', function() {
405-
var compiled = _.template('<%= a %><% a = _.template(c, object) %><%= a %>'),
405+
var compiled = _.template('<%= a %><% a = _.template(c, obj) %><%= a %>'),
406406
data = { 'a': 'A', 'b': 'B', 'c': '<%= b %>' };
407407

408408
equal(compiled(data), 'AB');

0 commit comments

Comments
 (0)
0