Skip to content

Commit dae0d33

Browse files
committed
print working directory in failing test
1 parent 7a9b209 commit dae0d33

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/test/java/io/ipfs/api/RecursiveAddTest.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package io.ipfs.api;
22

3-
import java.nio.file.Path;
4-
import java.nio.file.Paths;
3+
import java.io.*;
4+
import java.nio.file.*;
55

66
import org.junit.Assert;
77
import org.junit.Test;
@@ -18,6 +18,7 @@ public void testAdd() throws Exception {
1818
String TEST_HASH = "QmWVMRbFTrA6pMhsfXzsyoWqmrhy5FPd4VitfX79R5bguw";
1919

2020
System.out.println("ipfs version: " + ipfs.version());
21+
System.out.println("pwd: " + new File("").getPath());
2122

2223
Path path = Paths.get("src/test/resources/html");
2324
MerkleNode node = ipfs.add(new NamedStreamable.FileWrapper(path.toFile())).get(0);

0 commit comments

Comments
 (0)