Disambiguate block braces.

This commit is contained in:
Yukihiro "Matz" Matsumoto
2018-09-25 09:18:32 +09:00
parent fb49a94314
commit 87ce740168
+2 -2
View File
@@ -16,7 +16,7 @@ assert("sleep works") do
end
assert("sleep would not accept negative value") do
e = run_with_catching_error { sleep -1 }
e = run_with_catching_error{ sleep -1 }
assert_not_equal e, nil
assert_equal e.class, ArgumentError
@@ -29,7 +29,7 @@ assert("usleep works") do
end
assert("usleep would not accept negative value") do
e = run_with_catching_error { usleep -100 }
e = run_with_catching_error{ usleep -100 }
assert_not_equal e, nil
assert_equal e.class, ArgumentError