Commit 4bf6b8c1 authored by KOBAYASHI Shuji's avatar KOBAYASHI Shuji

Refine the default values of `flunk`

The default message for the second argument should be set to the first
argument because only one argument is normally specified.
parent e4992cdd
......@@ -247,7 +247,7 @@ def pass
assert_true(true)
end
def flunk(msg = nil, diff = "Epic Fail!")
def flunk(msg = "Epic Fail!", diff = "")
assert_true(false, msg, diff)
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment