Skip to content

Commit

Permalink
Use the plural form correctly
Browse files Browse the repository at this point in the history
Co-authored-by: Olle Jonsson <[email protected]>
  • Loading branch information
makenowjust and olleolleolle authored Jun 13, 2024
1 parent c0ead2e commit e106ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_document.rb
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ def test_each_recursive
document = REXML::Document.new(xml_source)

# Node#each_recursive iterates elements only.
# This does not iterate XML declaration, comments, attributes, CDATA sections, etc.
# This does not iterate XML declarations, comments, attributes, CDATA sections, etc.
actual_names = []
document.each_recursive do |element|
actual_names << element.attributes["name"]
Expand Down

0 comments on commit e106ae1

Please sign in to comment.