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 b7af918 commit 2a5353fCopy full SHA for 2a5353f
spec/aliases/integer_spec.rb
@@ -8,6 +8,7 @@
8
'3',
9
-3,
10
'-3',
11
+ "123\n456",
12
].each do |value|
13
describe value.inspect do
14
let(:params) {{ value: value }}
spec/functions/is_integer_spec.rb
@@ -11,6 +11,7 @@
it { is_expected.to run.with_params('3').and_return(true) }
it { is_expected.to run.with_params(-3).and_return(true) }
it { is_expected.to run.with_params('-3').and_return(true) }
+ it { is_expected.to run.with_params("123\n456").and_return(true) }
15
16
it { is_expected.to run.with_params(3.7).and_return(false) }
17
it { is_expected.to run.with_params('3.7').and_return(false) }
0 commit comments