зеркало из https://github.com/github/ruby.git
Removed useless braces to suppress a warning
This commit is contained in:
Родитель
e9bc8b35c6
Коммит
aedf6946a7
|
@ -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
|
||||||
|
|
Загрузка…
Ссылка в новой задаче