groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject [2/3] groovy git commit: GROOVY-8569 minor tweak (fix tests for previous change)
Date Sat, 19 May 2018 14:02:08 GMT
GROOVY-8569 minor tweak (fix tests for previous change)


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/ae40032b
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/ae40032b
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/ae40032b

Branch: refs/heads/GROOVY_2_5_X
Commit: ae40032b9e8c6f441ec5b575ba7858c9b2a8fb63
Parents: 926b24a
Author: Paul King <paulk@asert.com.au>
Authored: Sat May 19 23:33:54 2018 +1000
Committer: Paul King <paulk@asert.com.au>
Committed: Sun May 20 00:01:56 2018 +1000

----------------------------------------------------------------------
 src/test/groovy/ui/GroovyMainTest.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/ae40032b/src/test/groovy/ui/GroovyMainTest.groovy
----------------------------------------------------------------------
diff --git a/src/test/groovy/ui/GroovyMainTest.groovy b/src/test/groovy/ui/GroovyMainTest.groovy
index ab788ac..018bc41 100644
--- a/src/test/groovy/ui/GroovyMainTest.groovy
+++ b/src/test/groovy/ui/GroovyMainTest.groovy
@@ -27,13 +27,13 @@ class GroovyMainTest extends GroovyTestCase {
         GroovyMain.processArgs(args, ps)
         def out = baos.toString()
         assert out.contains('Usage: groovy')
-        ['-a', '-c', '-d', '-e', '-h', '-i', '-l', '-n', '-p', '-V'].each{
+        ['-a', '-c', '-d', '-e', '-h', '-i', '-l', '-n', '-p', '-v'].each{
             assert out.contains(it)
         }
     }
 
     void testVersion() {
-        String[] args = ['-V']
+        String[] args = ['-v']
         GroovyMain.processArgs(args, ps)
         def out = baos.toString()
         assert out.contains('Groovy Version:')


Mime
View raw message