Skip to content

Commit

Permalink
Use hash-literal in package_test over kwarg
Browse files Browse the repository at this point in the history
It is deprecated in Ruby 3.3 and removed in 3.4.
  • Loading branch information
cosgroveb committed Mar 6, 2025
1 parent 3c6b354 commit b0a2440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/packwerk/package_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class PackageTest < Minitest::Test

test "#<=> does not compare against different class" do
assert_nil(@package <=> "boop")
assert_nil(@package <=> Hash.new(name: "boop"))
assert_nil(@package <=> Hash.new({ name: "boop" }))
end

test "logical object equality is respected" do
Expand Down

0 comments on commit b0a2440

Please sign in to comment.