提交 91983724 编写于 作者: A Aaron Patterson

Ruby 1.8: Y U NO FUN?

上级 dd41387f
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册