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:50:25 UTC
[groovy] branch GROOVY_2_5_X 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 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 <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")