Skip to content

Commit 9a0bca9

Browse files
Add an additional type safety test
1 parent 79e65cd commit 9a0bca9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

tests/test_type_safety.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,3 +43,14 @@
4343
4444
p.html({{ arg }})
4545
expect_fail: true
46+
47+
- case: children_mixed_list_types
48+
main: |
49+
import pyhtml as p
50+
51+
children = [p.b("bolder"), p.b("BOLDER"), p.b("BOLDERRRRR!!!!!!!")]
52+
53+
p.html(
54+
"It's getting",
55+
children
56+
)

0 commit comments

Comments
 (0)