mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 23:37:49 +00:00
Update unit test with _.templateSettings.variable change.
Former-commit-id: e29718c70b0b0bcfeaf54909a32366d12663984d
This commit is contained in:
@@ -402,7 +402,7 @@
|
||||
|
||||
(function() {
|
||||
test('supports recursive calls', function() {
|
||||
var compiled = _.template('<%= a %><% a = _.template(c, object) %><%= a %>'),
|
||||
var compiled = _.template('<%= a %><% a = _.template(c, obj) %><%= a %>'),
|
||||
data = { 'a': 'A', 'b': 'B', 'c': '<%= b %>' };
|
||||
|
||||
equal(compiled(data), 'AB');
|
||||
|
||||
Reference in New Issue
Block a user