Add a test for underscores being turned into dashes

Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
pull/4/head
parent 3144144a22
commit 8bf4c1d3a2
Signed by: millironx
GPG Key ID: 139C07724802BC5D

@ -235,4 +235,9 @@ end #function
@test prettystring(bootstrap_kelpie) == bootstrap_starter()
@test prettystring(foundation_kelpie) == foundation_template()
end #testset
@testset "Behaviors" begin
# Test that attributes with underscores become attributes with dashes
@test occursin("<i data-tooltip=\"foo\"/>", prettystring(i(; data_tooltip="foo")))
end #testset
end #testset

Loading…
Cancel
Save