Permalink
Browse files

no caching in optimized test for text literal

  • Loading branch information...
1 parent 6984887 commit 68dad3bb1c7b2cf28dfd94470507e8185cd59d72 @gradus committed Apr 6, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 test_optimized.coffee
View
@@ -172,7 +172,7 @@ render = cc.render
if not test.params?
test.params =
optimize: true
- cache: on
+ cache: on unless total is 1
else
test.params.optimize = true
test.params.cache = true
@@ -183,7 +183,6 @@ render = cc.render
else
test.result = cc.render(test.template, test.params)
test.success = test.result is test.expected
-
if test.success
passed.push name
print "[Passed] #{name}\n"

0 comments on commit 68dad3b

Please sign in to comment.