File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -149,7 +149,6 @@ public void Remove_Unknown()
149149 public async Task Remove_Unknown_OK ( )
150150 {
151151 var cid = await ipfs . Block . RemoveAsync ( "QmPv52ekjS75L4JmHpXVeuJ5uX2ecSfSZo88NSyxwA3rFF" , true ) ;
152- Assert . AreEqual ( null , cid ) ;
153152 }
154153
155154 }
Original file line number Diff line number Diff line change @@ -22,7 +22,8 @@ public async Task Peer_Node_Info()
2222 {
2323 var ipfs = TestFixture . Ipfs ;
2424 Peer node ;
25- foreach ( var peer in await ipfs . Bootstrap . ListAsync ( ) )
25+ var peers = await ipfs . Bootstrap . ListAsync ( ) ;
26+ foreach ( var peer in peers )
2627 {
2728 try
2829 {
@@ -33,7 +34,7 @@ public async Task Peer_Node_Info()
3334 continue ;
3435 }
3536 Assert . IsInstanceOfType ( node , typeof ( Peer ) ) ;
36- break ;
37+ return ;
3738 }
3839 }
3940
Original file line number Diff line number Diff line change @@ -66,7 +66,6 @@ public async Task Connection()
6666 {
6767 try
6868 {
69- await ipfs . Swarm . DisconnectAsync ( peer . ConnectedAddress ) ;
7069 await ipfs . Swarm . ConnectAsync ( peer . ConnectedAddress ) ;
7170 return ;
7271 }
You can’t perform that action at this time.
0 commit comments