We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9524b48 commit e43a9cdCopy full SHA for e43a9cd
spec/group_spec.rb
@@ -28,7 +28,11 @@
28
end
29
30
it "raises when an exception happens within the command call" do
31
- expect { BrokenCounter.start(%w(1 2 --fail)) }.to raise_error(NameError, /undefined local variable or method `this_method_does_not_exist'/)
+ if RUBY_VERSION < "3.4.0"
32
+ expect { BrokenCounter.start(%w(1 2 --fail)) }.to raise_error(NameError, /undefined local variable or method `this_method_does_not_exist'/)
33
+ else
34
+ expect { BrokenCounter.start(%w(1 2 --fail)) }.to raise_error(NameError, /undefined local variable or method 'this_method_does_not_exist'/)
35
+ end
36
37
38
it "raises an error when a Thor group command expects arguments" do
0 commit comments