You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2009/06/09 11:56:23 UTC
svn commit: r782935 -
/ant/core/trunk/src/tests/junit/org/apache/tools/ant/types/DirSetTest.java
Author: bodewig
Date: Tue Jun 9 09:56:23 2009
New Revision: 782935
URL: http://svn.apache.org/viewvc?rev=782935&view=rev
Log:
whitespace
Modified:
ant/core/trunk/src/tests/junit/org/apache/tools/ant/types/DirSetTest.java
Modified: ant/core/trunk/src/tests/junit/org/apache/tools/ant/types/DirSetTest.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/tests/junit/org/apache/tools/ant/types/DirSetTest.java?rev=782935&r1=782934&r2=782935&view=diff
==============================================================================
--- ant/core/trunk/src/tests/junit/org/apache/tools/ant/types/DirSetTest.java (original)
+++ ant/core/trunk/src/tests/junit/org/apache/tools/ant/types/DirSetTest.java Tue Jun 9 09:56:23 2009
@@ -65,20 +65,20 @@
public void testToString() throws Exception {
File tmp = File.createTempFile("DirSetTest", "");
try {
- tmp.delete();
- File a = new File(tmp, "a");
- a.mkdirs();
- File b = new File(tmp, "b");
- File bc = new File(b, "c");
- bc.mkdirs();
- new FileOutputStream(new File(a, "x")).close();
- new FileOutputStream(new File(b, "x")).close();
- new FileOutputStream(new File(bc, "x")).close();
- DirSet ds = new DirSet();
- ds.setProject(getProject());
- ds.setDir(tmp);
- ds.setIncludes("b/");
- assertEquals("b;b" + File.separator + "c", ds.toString());
+ tmp.delete();
+ File a = new File(tmp, "a");
+ a.mkdirs();
+ File b = new File(tmp, "b");
+ File bc = new File(b, "c");
+ bc.mkdirs();
+ new FileOutputStream(new File(a, "x")).close();
+ new FileOutputStream(new File(b, "x")).close();
+ new FileOutputStream(new File(bc, "x")).close();
+ DirSet ds = new DirSet();
+ ds.setProject(getProject());
+ ds.setDir(tmp);
+ ds.setIncludes("b/");
+ assertEquals("b;b" + File.separator + "c", ds.toString());
} finally {
new File(tmp, "a/x").delete();
new File(tmp, "a").delete();