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 69
69
<dependency >
70
70
<groupId >com.github.ipld</groupId >
71
71
<artifactId >java-cid</artifactId >
72
- <version >v1.0.1 </version >
72
+ <version >v1.1.0 </version >
73
73
</dependency >
74
74
</dependencies >
75
75
Original file line number Diff line number Diff line change @@ -171,11 +171,6 @@ public void hostFileTest() throws IOException {
171
171
public void fileTest (NamedStreamable file ) {
172
172
try {
173
173
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!" );
179
174
byte [] catResult = ipfs .cat (addResult .hash );
180
175
byte [] getResult = ipfs .get (addResult .hash );
181
176
if (!Arrays .equals (catResult , file .getContents ()))
You can’t perform that action at this time.
0 commit comments