Skip to content

Commit

Permalink
Update test names
Browse files Browse the repository at this point in the history
Suggested by @kou. Thank you.

Co-authored-by: Sutou Kouhei <[email protected]>
  • Loading branch information
makenowjust and kou committed Jun 19, 2024
1 parent 4af4265 commit 7e68d5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/parse/test_document_type_declaration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def test_no_name
end

class TestUnclosed < self
def test_unclosed_doctype_only
def test_no_extra_node
exception = assert_raise(REXML::ParseException) do
REXML::Document.new(<<~DOCTYPE)
<!DOCTYPE foo [
Expand All @@ -69,7 +69,7 @@ def test_unclosed_doctype_only
DETAIL
end

def test_unclosed_doctype_plus_start_element
def test_start_element
exception = assert_raise(REXML::ParseException) do
REXML::Document.new(<<~DOCTYPE)
<!DOCTYPE foo [ <r>
Expand All @@ -84,7 +84,7 @@ def test_unclosed_doctype_plus_start_element
DETAIL
end

def test_unclosed_doctype_plus_text
def test_text
exception = assert_raise(REXML::ParseException) do
REXML::Document.new(<<~DOCTYPE)
<!DOCTYPE foo [ text
Expand Down

0 comments on commit 7e68d5a

Please sign in to comment.