diff --git a/underscore/underscore-tests.ts b/underscore/underscore-tests.ts index d530a4334..f469d3bea 100644 --- a/underscore/underscore-tests.ts +++ b/underscore/underscore-tests.ts @@ -291,17 +291,18 @@ _.result(object, 'stuff'); var compiled = _.template("hello: <%= name %>"); compiled({ name: 'moe' }); var list2 = "<% _.each(people, function(name) { %>
  • <%= name %>
  • <% }); %>"; -_.template(list2, { people: ['moe', 'curly', 'larry'] }); +_.template(list2)({ people: ['moe', 'curly', 'larry'] }); var template = _.template("<%- value %>"); template({ value: '