1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-26 03:55:26 -05:00

leverage serial.String in assert

This commit is contained in:
Darien Raymond
2015-12-02 15:41:19 +00:00
parent 7960b97c8e
commit 3c12469ae5
11 changed files with 38 additions and 34 deletions

View File

@@ -26,5 +26,5 @@ func TestSimpleRouter(t *testing.T) {
tag, err := router.TakeDetour(v2net.NewTCPDestination(v2net.DomainAddress("v2ray.com", 80)))
assert.Error(err).IsNil()
assert.String(tag).Equals("test")
assert.StringLiteral(tag).Equals("test")
}