diff options
Diffstat (limited to 'test/executable')
-rw-r--r-- | test/executable/suite.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/executable/suite.rb b/test/executable/suite.rb index fd40909..ef2ebb3 100644 --- a/test/executable/suite.rb +++ b/test/executable/suite.rb @@ -40,7 +40,7 @@ class TestCodeRayExecutable < Test::Unit::TestCase end should 'print version and help' do assert_match(/CodeRay #{CodeRay::VERSION}/, coderay('')) - assert_match(/Usage:/, coderay('')) + assert_match(/usage:/, coderay('')) end end @@ -55,13 +55,13 @@ class TestCodeRayExecutable < Test::Unit::TestCase context 'help' do should 'be printed with -h' do - assert_match(/^Usage:/, coderay('-h')) + assert_match(/^usage:/, coderay('-h')) end should 'be printed with --help' do - assert_match(/^Usage:/, coderay('--help')) + assert_match(/^usage:/, coderay('--help')) end should 'be printed with subcommand help' do - assert_match(/^Usage:/, coderay('help')) + assert_match(/^usage:/, coderay('help')) end end |