diff options
author | Juha Ylitalo <juha.ylitalo@reaktor.com> | 2020-01-07 10:02:41 +0200 |
---|---|---|
committer | Juha Ylitalo <juha.ylitalo@reaktor.com> | 2020-01-07 10:02:41 +0200 |
commit | 33a59e46b6fa89636e32b72fa8e025dee1b622b8 (patch) | |
tree | 4c7562ba50db8c51da04c927a6aeb8be2a15d60a /test/options_test.rb | |
parent | dcb711b8aaa1731bfcc4571f70a8b0f5de87d5da (diff) | |
download | slop-33a59e46b6fa89636e32b72fa8e025dee1b622b8.tar.gz |
Tests on Ruby 2.7.0
Diffstat (limited to 'test/options_test.rb')
-rw-r--r-- | test/options_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/options_test.rb b/test/options_test.rb index f816b74..2f83fc4 100644 --- a/test/options_test.rb +++ b/test/options_test.rb @@ -121,11 +121,11 @@ describe Slop::Options do describe "custom banner" do it "is prefixed with defined banner" do - @options_config = Slop::Options.new({banner: "custom banner"}) + @options_config = Slop::Options.new(**{banner: "custom banner"}) assert_match(/^custom banner/, @options_config.to_s) end it "banner is disabled" do - @options_config = Slop::Options.new({banner: false}) + @options_config = Slop::Options.new(**{banner: false}) assert_match("", @options_config.to_s) end end |