groovy-commits mailing list archives

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

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


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

commit d162b12b704511fcbdcf7df357c9a4effe599413
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