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 c3be26c commit 5333871Copy full SHA for 5333871
core/time/shared/time_params.rb
@@ -179,6 +179,10 @@
179
}.should raise_error(ArgumentError, "argument out of range")
180
end
181
182
+ it "raises ArgumentError when given 8 arguments" do
183
+ -> { Time.send(@method, *[0]*8) }.should raise_error(ArgumentError)
184
+ end
185
+
186
it "raises ArgumentError when given 9 arguments" do
187
-> { Time.send(@method, *[0]*9) }.should raise_error(ArgumentError)
188
0 commit comments