提交 5d07e8a3 编写于 作者: A Akira Matsuda

💅

上级 bd9e134b
......@@ -5,8 +5,7 @@
class DuplicableTest < ActiveSupport::TestCase
RAISE_DUP = [method(:puts)]
ALLOW_DUP = ["1", Object.new, /foo/, [], {}, Time.now, Class.new, Module.new]
ALLOW_DUP << BigDecimal.new("4.56")
ALLOW_DUP = ["1", Object.new, /foo/, [], {}, Time.now, Class.new, Module.new, BigDecimal.new("4.56")]
def test_duplicable
rubinius_skip "* Method#dup is allowed at the moment on Rubinius\n" \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册