We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
argv
1 parent 88f4688 commit 0c666b4Copy full SHA for 0c666b4
spec/cli/pattern_options_spec.rb
@@ -509,8 +509,9 @@ class TestCommand < Ronin::CLI::Command
509
shared_examples_for "pattern option" do |flag,constant|
510
describe "when given '#{flag}'" do
511
let(:flag) { flag }
512
+ let(:argv) { [flag] }
513
- before { subject.option_parser.parse([flag]) }
514
+ before { subject.option_parser.parse(argv) }
515
516
it "must set #pattern to Ronin::Support::Text::Patterns::#{constant}" do
517
expect(subject.pattern).to be(
0 commit comments