Skip to content

Commit

Permalink
Fix test name
Browse files Browse the repository at this point in the history
  • Loading branch information
Watson1978 committed Jul 23, 2024
1 parent 7047bd8 commit 98e0d8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parse/test_entity_declaration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def test_no_quote
DETAIL
end

def test_invalid_entity_value
def test_prohibited_character
exception = assert_raise(REXML::ParseException) do
REXML::Document.new('<!DOCTYPE root [<!ENTITY valid-name "% &">]>')
end
Expand Down Expand Up @@ -157,7 +157,7 @@ def test_no_quote
DETAIL
end

def test_invalid_entity_value
def test_prohibited_character
exception = assert_raise(REXML::ParseException) do
REXML::Document.new('<!DOCTYPE root [<!ENTITY % valid-name "% &">]>')
end
Expand Down

0 comments on commit 98e0d8f

Please sign in to comment.