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:
parent
8257fcb1db
commit
632e10cad3
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue