Skip to content

Commit

Permalink
test Text.check: add empty reference case
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jul 11, 2024
1 parent 87f7cd0 commit 18214a6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/test_text_check.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ def test_lt_mix
assert_check_failed("ab<cd", "<")
end

def test_reference_empty
assert_check_failed("&;", "&")
end

def test_entity_reference_missing_colon
assert_check_failed("&amp", "&")
end
Expand Down

0 comments on commit 18214a6

Please sign in to comment.