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.
2 parents d91e8ca + 75f6712 commit 7a36534Copy full SHA for 7a36534
spec/parser/options_spec.rb
@@ -345,19 +345,16 @@ def remaining
345
end
346
347
it "doesn't eat the next part of the param" do
348
- create :foo => :boolean
349
expect(parse("--foo", "bar")).to eq("foo" => true)
350
expect(@opt.remaining).to eq(%w(bar))
351
352
353
it "doesn't eat the next part of the param with 'no-opt' variant" do
354
355
expect(parse("--no-foo", "bar")).to eq("foo" => false)
356
357
358
359
it "doesn't eat the next part of the param with 'skip-opt' variant" do
360
361
expect(parse("--skip-foo", "bar")).to eq("foo" => false)
362
363
0 commit comments