File tree Expand file tree Collapse file tree 2 files changed +1
-6
lines changed
src/test/java/io/ipfs/api Expand file tree Collapse file tree 2 files changed +1
-6
lines changed Original file line number Diff line number Diff line change 6969 <dependency >
7070 <groupId >com.github.ipld</groupId >
7171 <artifactId >java-cid</artifactId >
72- <version >v1.0.1 </version >
72+ <version >v1.1.0 </version >
7373 </dependency >
7474 </dependencies >
7575
Original file line number Diff line number Diff line change @@ -171,11 +171,6 @@ public void hostFileTest() throws IOException {
171171 public void fileTest (NamedStreamable file ) {
172172 try {
173173 MerkleNode addResult = ipfs .add (file );
174- List <MerkleNode > lsResult = ipfs .ls (addResult .hash );
175- if (lsResult .size () != 1 )
176- throw new IllegalStateException ("Incorrect number of objects in ls!" );
177- if (!lsResult .get (0 ).equals (addResult ))
178- throw new IllegalStateException ("Object not returned in ls!" );
179174 byte [] catResult = ipfs .cat (addResult .hash );
180175 byte [] getResult = ipfs .get (addResult .hash );
181176 if (!Arrays .equals (catResult , file .getContents ()))
You can’t perform that action at this time.
0 commit comments