提交 60d82fa1 编写于 作者: A Andrew White

It's a NAN not Infinity

上级 d2890f76
......@@ -444,7 +444,7 @@ def test_to_json_works_when_as_json_returns_infinite_number
class NaNNumber
def as_json(options = nil)
{ "number" => Float::INFINITY }
{ "number" => Float:NAN }
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册