mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Removed useless braces to suppress a warning
This commit is contained in:
parent
e9bc8b35c6
commit
aedf6946a7
1 changed files with 2 additions and 2 deletions
|
@ -41,7 +41,7 @@ describe "Logger::LogDevice#new" do
|
||||||
|
|
||||||
it "receives options via a hash as second argument" do
|
it "receives options via a hash as second argument" do
|
||||||
-> { Logger::LogDevice.new(STDERR,
|
-> { Logger::LogDevice.new(STDERR,
|
||||||
{ shift_age: 8, shift_size: 10
|
shift_age: 8, shift_size: 10
|
||||||
})}.should_not raise_error
|
)}.should_not raise_error
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue