diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/options_test.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/options_test.rb b/test/options_test.rb index 3ef34c5..f816b74 100644 --- a/test/options_test.rb +++ b/test/options_test.rb @@ -64,6 +64,12 @@ describe Slop::Options do @options.separator("foo".freeze) @options.separator("bar".freeze) end + + it "defaults to empty string" do + @options.separator + + assert_equal [""], @options.separators + end end describe "#method_missing" do |