Skip to content

Commit

Permalink
Add an additional type safety test
Browse files Browse the repository at this point in the history
  • Loading branch information
MaddyGuthridge committed Apr 13, 2024
1 parent 79e65cd commit 9a0bca9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/test_type_safety.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,14 @@
p.html({{ arg }})
expect_fail: true

- case: children_mixed_list_types
main: |
import pyhtml as p
children = [p.b("bolder"), p.b("BOLDER"), p.b("BOLDERRRRR!!!!!!!")]
p.html(
"It's getting",
children
)

0 comments on commit 9a0bca9

Please sign in to comment.