diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-09-08 12:54:06 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2019-09-08 12:54:06 +0900 |
commit | aedf6946a7e958dd00a272c08550790be9dd1c0d (patch) | |
tree | ea1c716dde822baf867a4a8841f58ca86e0f0bc8 /spec/ruby | |
parent | e9bc8b35c6c860e227627e3b0aab86b4f51c59af (diff) | |
download | ruby-aedf6946a7e958dd00a272c08550790be9dd1c0d.tar.gz |
Removed useless braces to suppress a warning
Diffstat (limited to 'spec/ruby')
-rw-r--r-- | spec/ruby/library/logger/device/new_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/library/logger/device/new_spec.rb b/spec/ruby/library/logger/device/new_spec.rb index 578624a91c..c77376d078 100644 --- a/spec/ruby/library/logger/device/new_spec.rb +++ b/spec/ruby/library/logger/device/new_spec.rb @@ -41,7 +41,7 @@ describe "Logger::LogDevice#new" do it "receives options via a hash as second argument" do -> { Logger::LogDevice.new(STDERR, - { shift_age: 8, shift_size: 10 - })}.should_not raise_error + shift_age: 8, shift_size: 10 + )}.should_not raise_error end end |