diff options
Diffstat (limited to 'test/optparse')
-rw-r--r-- | test/optparse/test_bash_completion.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/optparse/test_bash_completion.rb b/test/optparse/test_bash_completion.rb index 714fd35cff..513e986f66 100644 --- a/test/optparse/test_bash_completion.rb +++ b/test/optparse/test_bash_completion.rb @@ -40,4 +40,9 @@ class TestOptionParser::BashCompletion < Test::Unit::TestCase def test_long_for_option_complete assert_equal(%w[hello help], @opt.candidate("--for=h")) end + + def test_case_sensitive + @opt.define("-Z") {} + assert_equal(%w[-z], @opt.candidate("-z")) + end end |