mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 18:17:48 +00:00
Update unit test with _.templateSettings.variable change.
Former-commit-id: e29718c70b0b0bcfeaf54909a32366d12663984d
This commit is contained in:
@@ -402,7 +402,7 @@
|
|||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
test('supports recursive calls', 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 %>' };
|
data = { 'a': 'A', 'b': 'B', 'c': '<%= b %>' };
|
||||||
|
|
||||||
equal(compiled(data), 'AB');
|
equal(compiled(data), 'AB');
|
||||||
|
|||||||
Reference in New Issue
Block a user