Skip to content

Commit

Permalink
Add test case for falsey "if" values (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksay committed Mar 14, 2019
1 parent ad07273 commit cc0e9d6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/output-preserve-whitespace/template_if_4.txt
@@ -0,0 +1,2 @@
test u' '

1 change: 1 addition & 0 deletions tests/output/template_if_4.txt
@@ -0,0 +1 @@
test u' '
5 changes: 5 additions & 0 deletions tests/template-if-4.txt
@@ -0,0 +1,5 @@
#for $x in [" ", "", None]
#if $x
test $repr(x)
#end if
#end for

0 comments on commit cc0e9d6

Please sign in to comment.