diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2018-09-25 09:18:32 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2018-09-26 12:17:38 +0900 |
| commit | 87ce74016894940355b402f58884c48396fcf570 (patch) | |
| tree | b8ec991a9c396cde37d45a1eff66552acb53f8b9 | |
| parent | fb49a9431482d7f60d065af68c5c0e028b130c41 (diff) | |
| download | mruby-87ce74016894940355b402f58884c48396fcf570.tar.gz mruby-87ce74016894940355b402f58884c48396fcf570.zip | |
Disambiguate block braces.
| -rw-r--r-- | mrbgems/mruby-sleep/test/sleep_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mrbgems/mruby-sleep/test/sleep_test.rb b/mrbgems/mruby-sleep/test/sleep_test.rb index e5ea5f69e..74030c0d3 100644 --- a/mrbgems/mruby-sleep/test/sleep_test.rb +++ b/mrbgems/mruby-sleep/test/sleep_test.rb @@ -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 |
