Ruby 1.8: Y U NO FUN?
This commit is contained in:
parent
dd41387f34
commit
9198372421
@ -33,7 +33,9 @@ def test_double_equal_works_with_classes
|
||||
k = Class.new
|
||||
mw = Middleware.new k
|
||||
assert_operator mw, :==, k
|
||||
assert_operator mw, :!=, Class.new
|
||||
|
||||
result = mw != Class.new
|
||||
assert result, 'middleware should not equal other anon class'
|
||||
end
|
||||
|
||||
def test_double_equal_works_with_strings
|
||||
|
Loading…
Reference in New Issue
Block a user