Skip to content

Commit 0737d2e

Browse files
committed
Update test suite to pass on Ruby 3.4
1 parent 13d4469 commit 0737d2e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
fail-fast: false
1616
matrix:
1717
os: [ubuntu-latest]
18-
ruby: ['2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3']
18+
ruby: ['2.5', '2.6', '2.7', '3.0', '3.1', '3.2', '3.3', '3.4.0-preview2']
1919
include:
2020
- os: macos-13
2121
ruby: '2.5'

spec/msgpack_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def asciienc(str)
112112

113113
context 'with other things' do
114114
it 'raises an error on #pack with an unsupported type' do
115-
expect { MessagePack.pack(self) }.to raise_error(NoMethodError, /^undefined method `to_msgpack'/)
115+
expect { MessagePack.pack(self) }.to raise_error(NoMethodError, /undefined method .*to_msgpack/)
116116
end
117117

118118
it 'raises an error on #unpack with garbage' do

0 commit comments

Comments
 (0)