diff options
Diffstat (limited to 'spec/ruby/core')
-rw-r--r-- | spec/ruby/core/array/pack/shared/basic.rb | 2 | ||||
-rw-r--r-- | spec/ruby/core/string/unpack_spec.rb | 2 |
2 files changed, 2 insertions, 2 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 |