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 2019/07/02 06:15:46 UTC

[groovy] branch master updated: avoid assumptions about subdirs already created under target/classes/

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 <pa...@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")