Update unit test with _.templateSettings.variable change.

Former-commit-id: e29718c70b0b0bcfeaf54909a32366d12663984d
This commit is contained in:
John-David Dalton
2012-05-29 10:17:55 -04:00
parent 3d2428b278
commit 8ef039b9db

View File

@@ -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');