From 9a0bca980d3a037f8568244d0d02f992d43d9dc0 Mon Sep 17 00:00:00 2001 From: Miguel Guthridge Date: Sat, 13 Apr 2024 16:36:19 +1000 Subject: [PATCH] Add an additional type safety test --- tests/test_type_safety.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/tests/test_type_safety.yml b/tests/test_type_safety.yml index 9105bbd..66326a5 100644 --- a/tests/test_type_safety.yml +++ b/tests/test_type_safety.yml @@ -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 + )