Skip to content

Commit 0ac5c57

Browse files
committed
Test on Ruby v3.4.
1 parent 5440b2c commit 0ac5c57

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
- '3.1'
2222
- '3.2'
2323
- '3.3'
24+
- '3.4'
2425
- jruby-head
2526
- truffleruby-head
2627
include:

test/spec_headers.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ def test_has_value
220220

221221
def test_inspect
222222
%i'inspect to_s'.each do |meth|
223-
assert_equal '{}', @h.send(meth)
224-
assert_equal '{"ab"=>"1", "cd"=>"2", "3"=>"4"}', @fh.send(meth)
223+
assert_equal({}.inspect, @h.send(meth))
224+
assert_equal({"ab"=>"1", "cd"=>"2", "3"=>"4"}.inspect, @fh.send(meth))
225225
end
226226
end
227227

0 commit comments

Comments
 (0)