diff options
author | murphy <murphy@rubychan.de> | 2011-06-25 18:23:07 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2011-06-25 18:23:07 +0000 |
commit | 498df2b7654c210c8f47e2757efc33cd94689b57 (patch) | |
tree | bda6e10d3eadbf22f1a1a1a2d4e8d0cf7844a3b0 /test | |
parent | d6fe4e777a4f543c8828dbf77e955ab38e6c2803 (diff) | |
download | coderay-498df2b7654c210c8f47e2757efc33cd94689b57.tar.gz |
coderay list subcommand and cleanups/fixes in Plugin helper (issue #45)
Diffstat (limited to 'test')
-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 |