Skip to content

Commit

Permalink
update assertion sentence
Browse files Browse the repository at this point in the history
  • Loading branch information
eryeer committed Oct 8, 2019
1 parent 6c58799 commit 185d486
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion neo.UnitTests/Network/RPC/UT_RpcClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ public void TestConstructorByUrlAndDispose()
//dummy url for test
var client = new RpcClient("http://www.xxx.yyy");
Action action = () => client.Dispose();
action.ShouldNotThrow<Exception>();
action.Should().NotThrow<Exception>();
}
}
}
4 changes: 2 additions & 2 deletions neo.UnitTests/Network/RPC/UT_RpcServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ public void TestMaxGasInvoke()
[TestMethod]
public void TestStart()
{
Action action = () => server.Start(IPAddress.Parse("127.0.0.1"), 8080);
action.ShouldNotThrow<Exception>();
Action action = () => server.Start(IPAddress.Parse("127.0.0.1"), 8999);
action.Should().NotThrow<Exception>();
}
}
}

0 comments on commit 185d486

Please sign in to comment.