We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7e8cf6 commit 56b7b1fCopy full SHA for 56b7b1f
.gitignore
@@ -0,0 +1,9 @@
1
+*.class
2
+*.log
3
+dist/*
4
+target/
5
+
6
+# Scala-IDE specific
7
+.idea/*
8
+api.iml
9
src/test/java/org/ipfs/api/Test.java
@@ -7,6 +7,8 @@
import java.util.Optional;
import java.util.Random;
10
+import static org.junit.Assert.assertTrue;
11
12
public class Test {
13
14
IPFS ipfs = new IPFS(new MultiAddress("/ip4/127.0.0.1/tcp/5001"));
@@ -346,6 +348,7 @@ public void diagTest() {
346
348
public void toolsTest() {
347
349
try {
350
String version = ipfs.version();
351
+ assertTrue(version.equals("0.4.0-dev")); // No longer works with any 0.3 version
352
Map commands = ipfs.commands();
353
} catch (IOException e) {
354
throw new RuntimeException(e);
0 commit comments