diff options
author | git <svn-admin@ruby-lang.org> | 2023-01-05 18:06:01 +0000 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-01-05 18:06:01 +0000 |
commit | 54950a78e3cd66da8c52e7444b2fbf761153660b (patch) | |
tree | b62720f1c697dd0aa994d1bdb5a97437f6b473c3 /spec | |
parent | bbf54ec334fe2edd7669a944d88d17efde49a412 (diff) | |
download | ruby-54950a78e3cd66da8c52e7444b2fbf761153660b.tar.gz |
* remove trailing spaces, append newline at EOF. [ci skip]
Diffstat (limited to 'spec')
-rw-r--r-- | spec/ruby/core/array/pack/shared/basic.rb | 2 | ||||
-rw-r--r-- | spec/ruby/core/string/unpack_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/library/coverage/running_spec.rb | 2 | ||||
-rw-r--r-- | spec/ruby/library/stringio/new_spec.rb | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/spec/ruby/core/array/pack/shared/basic.rb b/spec/ruby/core/array/pack/shared/basic.rb index 65fdaa45d8..5e3eea55f9 100644 --- a/spec/ruby/core/array/pack/shared/basic.rb +++ b/spec/ruby/core/array/pack/shared/basic.rb @@ -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 diff --git a/spec/ruby/core/string/unpack_spec.rb b/spec/ruby/core/string/unpack_spec.rb index 4ff7d07460..52b4af3a95 100644 --- a/spec/ruby/core/string/unpack_spec.rb +++ b/spec/ruby/core/string/unpack_spec.rb @@ -31,4 +31,4 @@ describe "String#unpack" do -> { "a".unpack("C", offset: 2) }.should raise_error(ArgumentError, "offset outside of string") end end -end
\ No newline at end of file +end diff --git a/spec/ruby/library/coverage/running_spec.rb b/spec/ruby/library/coverage/running_spec.rb index 745270164f..e9cc7ada5a 100644 --- a/spec/ruby/library/coverage/running_spec.rb +++ b/spec/ruby/library/coverage/running_spec.rb @@ -17,4 +17,4 @@ describe 'Coverage.running?' do Coverage.result Coverage.running?.should == false end -end
\ No newline at end of file +end diff --git a/spec/ruby/library/stringio/new_spec.rb b/spec/ruby/library/stringio/new_spec.rb index e36d210caa..328455134e 100644 --- a/spec/ruby/library/stringio/new_spec.rb +++ b/spec/ruby/library/stringio/new_spec.rb @@ -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
\ No newline at end of file +end |