diff options
author | A. Wilcox <awilcox@wilcox-tech.com> | 2020-02-11 23:12:22 +0000 |
---|---|---|
committer | A. Wilcox <awilcox@wilcox-tech.com> | 2020-02-11 23:12:22 +0000 |
commit | e16056761ebbfdbf8d0cf6b394e72d1689e7b3ce (patch) | |
tree | ebd08b88588ca8390842be86209129e58efd9f25 /tests | |
parent | 9fa9857a7514469d062335cd2dcb8c0d06eb624c (diff) | |
parent | 4946a64db774a140d06c45f186f5bc5a4c0c6daa (diff) | |
download | horizon-e16056761ebbfdbf8d0cf6b394e72d1689e7b3ce.tar.gz horizon-e16056761ebbfdbf8d0cf6b394e72d1689e7b3ce.tar.bz2 horizon-e16056761ebbfdbf8d0cf6b394e72d1689e7b3ce.tar.xz horizon-e16056761ebbfdbf8d0cf6b394e72d1689e7b3ce.zip |
Merge branch 'feature/boost-program-options' into 'master'
Use Boost program_options instead of vendoring clipp
See merge request adelie/horizon!1
Diffstat (limited to 'tests')
-rw-r--r-- | tests/spec/simulator_spec.rb | 4 | ||||
-rw-r--r-- | tests/spec/validator_spec.rb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/spec/simulator_spec.rb b/tests/spec/simulator_spec.rb index b3b24c9..f5f46ec 100644 --- a/tests/spec/simulator_spec.rb +++ b/tests/spec/simulator_spec.rb @@ -8,11 +8,11 @@ RSpec.describe 'HorizonScript Simulator', :type => :aruba do context "argument passing" do it "requires an installfile to be specified" do run_command 'hscript-simulate' - expect(last_command_started).to have_output(/usage/) + expect(last_command_started).to have_output(/Allowed options/) end it "supports Strict Mode" do run_command 'hscript-simulate foo -s' - expect(last_command_started).to_not have_output(/usage/) + expect(last_command_started).to_not have_output(/Allowed options/) end it "doesn't output ANSI colours when instructed not to" do run_command 'hscript-simulate foo -n' diff --git a/tests/spec/validator_spec.rb b/tests/spec/validator_spec.rb index ba38563..971b91d 100644 --- a/tests/spec/validator_spec.rb +++ b/tests/spec/validator_spec.rb @@ -11,11 +11,11 @@ RSpec.describe 'HorizonScript validation', :type => :aruba do context "Utility argument passing" do it "requires an installfile to be specified" do run_command 'hscript-validate' - expect(last_command_started).to have_output(/usage/) + expect(last_command_started).to have_output(/Allowed options/) end it "accepts -i flag" do run_command 'hscript-validate foo -i' - expect(last_command_started).to_not have_output(/usage/) + expect(last_command_started).to_not have_output(/Allowed options/) end it "doesn't output ANSI colours when instructed not to" do run_command 'hscript-validate foo -n' |