1
0
Fork 0
mirror of https://github.com/MillironX/Kelpie.jl.git synced 2024-11-14 05:33:09 +00:00

Add a test for underscores being turned into dashes

Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
Thomas A. Christensen II 2022-04-05 16:33:07 -05:00
parent 3144144a22
commit 8bf4c1d3a2
Signed by: millironx
GPG key ID: 139C07724802BC5D

View file

@ -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