You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2018/05/19 13:34:03 UTC
groovy git commit: GROOVY-8569 minor tweak (fix tests for previous
change)
Repository: groovy
Updated Branches:
refs/heads/GROOVY_2_6_X 82a04302e -> 89f642d57
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/89f642d5
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/89f642d5
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/89f642d5
Branch: refs/heads/GROOVY_2_6_X
Commit: 89f642d57d644b81819fcbbb78c22a7c15d8aa12
Parents: 82a0430
Author: Paul King <pa...@asert.com.au>
Authored: Sat May 19 23:33:54 2018 +1000
Committer: Paul King <pa...@asert.com.au>
Committed: Sat May 19 23:33:54 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/89f642d5/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:')