summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-08 12:54:06 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-09-08 12:54:06 +0900
commitaedf6946a7e958dd00a272c08550790be9dd1c0d (patch)
treeea1c716dde822baf867a4a8841f58ca86e0f0bc8 /spec
parente9bc8b35c6c860e227627e3b0aab86b4f51c59af (diff)
Removed useless braces to suppress a warning
Diffstat (limited to 'spec')
-rw-r--r--spec/ruby/library/logger/device/new_spec.rb4
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