Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/jruby/test_objectspace.rb
Original file line number Diff line number Diff line change
@@ -106,7 +106,7 @@ def test_each_object_singleton_class
d = Class.new(b)

classes = ObjectSpace.each_object(a.singleton_class).to_a
assert_equal(classes.sort_by(&:name), [a, b, c, d])
assert_equal(classes.sort_by(&:name), [a, b, c, d].sort_by(&:name))
ensure
JRuby.objectspace = old_objectspace
end

0 comments on commit 773622e

Please sign in to comment.