Skip to content

Commit

Permalink
improved test, so it confirms with mustache
Browse files Browse the repository at this point in the history
  • Loading branch information
edwindj committed Apr 13, 2014
1 parent 42ca89a commit a9fd0f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/tests/testName.R
Expand Up @@ -29,6 +29,6 @@ var is true
var is not true
{{/var}}"

expect_equal("var is true",whisker.render(template, list(var=TRUE)))
expect_equal("var is not true",whisker.render(template, list(var=FALSE)))
expect_equal("var is true\n",whisker.render(template, list(var=TRUE)))
expect_equal("var is not true\n",whisker.render(template, list(var=FALSE)))
})

0 comments on commit a9fd0f8

Please sign in to comment.