зеркало из https://github.com/github/ruby.git
* remove trailing spaces, append newline at EOF. [ci skip]
This commit is contained in:
Родитель
bbf54ec334
Коммит
54950a78e3
|
@ -31,7 +31,7 @@ describe :array_pack_basic_non_float, shared: true do
|
|||
# 2 additional directives ('a') are required for the X directive
|
||||
[@obj, @obj, @obj, @obj].pack("aa #{pack_format} # some comment \n#{pack_format}").should be_an_instance_of(String)
|
||||
end
|
||||
|
||||
|
||||
ruby_version_is ""..."3.2" do
|
||||
it "warns in verbose mode that a directive is unknown" do
|
||||
# additional directive ('a') is required for the X directive
|
||||
|
|
|
@ -31,4 +31,4 @@ describe "String#unpack" do
|
|||
-> { "a".unpack("C", offset: 2) }.should raise_error(ArgumentError, "offset outside of string")
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -17,4 +17,4 @@ describe 'Coverage.running?' do
|
|||
Coverage.result
|
||||
Coverage.running?.should == false
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -5,4 +5,4 @@ describe "StringIO.new" do
|
|||
it "warns when called with a block" do
|
||||
-> { eval("StringIO.new {}") }.should complain(/StringIO::new\(\) does not take block; use StringIO::open\(\) instead/)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче