Skip to content
Snippets Groups Projects
Commit 9cd7ec1a authored by 邹毅贤's avatar 邹毅贤
Browse files

modify test

parent c8f26d92
No related branches found
No related tags found
No related merge requests found
......@@ -202,3 +202,10 @@ func Test_getRandomPorts(t *testing.T) {
assert.Equal(t, size, len(ports))
}
func Test_getRandomPort(t *testing.T) {
port := getRandomPort()
t.Logf("port:%v", port)
assert.Greater(t, port, 0)
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment