1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

rexml: Fix wrong assertion

test/rexml/xpath/test_base.rb: Use constant value for the expected value.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kou 2018-04-19 20:51:07 +00:00
parent 8257fcb1db
commit 632e10cad3

View file

@ -1006,7 +1006,7 @@ EOF
</a>"
d = Document.new(data)
res = d.elements.to_a( "//c" ).collect {|e| e.attributes['id'].to_i}
assert_equal( res, res.sort )
assert_equal((1..12).to_a, res)
end
def ticket_61_fixture(doc, xpath)