PR feedback (nits)

This commit is contained in:
Alex Toombs
2014-06-06 15:49:13 -07:00
parent 20b08f5a33
commit 8014866791
2 changed files with 2 additions and 6 deletions

View File

@@ -32,9 +32,7 @@ func TestDefaultOptions(t *testing.T) {
}
func TestOptions_RandomPort(t *testing.T) {
opts := &Options{
Port: RANDOM_PORT,
}
opts := &Options{Port: RANDOM_PORT}
processOptions(opts)
if opts.Port != 0 {

View File

@@ -11,9 +11,7 @@ import (
)
func TestResolveRandomPort(t *testing.T) {
opts := &server.Options{
Port: server.RANDOM_PORT,
}
opts := &server.Options{Port: server.RANDOM_PORT}
s := RunServer(opts)
defer s.Shutdown()