From 498df2b7654c210c8f47e2757efc33cd94689b57 Mon Sep 17 00:00:00 2001 From: murphy Date: Sat, 25 Jun 2011 18:23:07 +0000 Subject: coderay list subcommand and cleanups/fixes in Plugin helper (issue #45) --- test/executable/suite.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'test') 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 -- cgit v1.2.1