Skip to content

Commit 294386d

Browse files
Add test case for render options type safety
1 parent 5ee0d47 commit 294386d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/test_type_safety.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@
3131
import pyhtml as p
3232
p.html({{ arg }})
3333
34+
- case: children_render_options
35+
main: |
36+
import pyhtml as p
37+
p.html(p.RenderOptions())
38+
3439
- case: children_disallowed_types
3540
parametrized:
3641
- arg: None

0 commit comments

Comments
 (0)