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:
parent
3144144a22
commit
8bf4c1d3a2
1 changed files with 5 additions and 0 deletions
|
@ -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…
Reference in a new issue