groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject [groovy] branch GROOVY_2_5_X updated: avoid assumptions about subdirs already created under target/classes/
Date Tue, 02 Jul 2019 06:50:25 GMT
This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch GROOVY_2_5_X
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/GROOVY_2_5_X by this push:
     new 438eee2  avoid assumptions about subdirs already created under target/classes/
438eee2 is described below

commit 438eee2f621797395c3b2a90c4539fb161badf55
Author: Paul King <paulk@asert.com.au>
AuthorDate: Tue Jul 2 16:15:37 2019 +1000

    avoid assumptions about subdirs already created under target/classes/
---
 src/test/org/codehaus/groovy/runtime/FileLeftShiftTest.groovy | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/test/org/codehaus/groovy/runtime/FileLeftShiftTest.groovy b/src/test/org/codehaus/groovy/runtime/FileLeftShiftTest.groovy
index 3e93d1f..84112df 100644
--- a/src/test/org/codehaus/groovy/runtime/FileLeftShiftTest.groovy
+++ b/src/test/org/codehaus/groovy/runtime/FileLeftShiftTest.groovy
@@ -20,7 +20,7 @@ package org.codehaus.groovy.runtime
 
 class FileLeftShiftTest extends GroovyTestCase {
     void testFileLeftShift() {
-        def base = new File("target/classes/test/")
+        def base = new File("target/classes/")
         new File(base, "MyFileLeftShiftTest.txt").delete()
         new File(base, "MyFileLeftShiftTest.txt") << "This is " << "groovy"
         assertEquals(new File(base, "MyFileLeftShiftTest.txt").text, "This is groovy")


Mime
View raw message