Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

no caching in optimized test for text literal

  • Loading branch information...
commit 68dad3bb1c7b2cf28dfd94470507e8185cd59d72 1 parent 6984887
@gradus authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  test_optimized.coffee
View
3  test_optimized.coffee
@@ -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"
Please sign in to comment.
Something went wrong with that request. Please try again.