Skip to content

Commit

Permalink
! Fix spec for ruby 3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
PikachuEXE committed Dec 26, 2024
1 parent d7d406f commit a812a7c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/contracted_value/value_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@
value_class.class_eval do
attribute(1)
end
}.to raise_error(::NoMethodError, /undefined method `to_sym'/)
}.to raise_error(::NoMethodError, /undefined method `to_sym'|undefined method 'to_sym'/)
# ruby 3.4+ uses different quotes
end
end

Expand Down

0 comments on commit a812a7c

Please sign in to comment.