Skip to content

Commit

Permalink
add: test file to add regression tests
Browse files Browse the repository at this point in the history
  • Loading branch information
saemideluxe committed Aug 31, 2022
1 parent 1138e5e commit ef377ab
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/test_regressions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import htmlgenerator as hg


def test_str_format_zero():
assert hg.render(hg.format("1{}", hg.C("value")), {"value": 0}) == "10"

0 comments on commit ef377ab

Please sign in to comment.