Browse Source

fix test using uncommon names

pull/798/head
Petabyte Storage 7 years ago
parent
commit
6b366b2443
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      p2p/netaddress_test.go

+ 3
- 3
p2p/netaddress_test.go View File

@ -31,9 +31,9 @@ func TestNewNetAddressString(t *testing.T) {
}{ }{
{"127.0.0.1:8080", true}, {"127.0.0.1:8080", true},
// {"127.0.0:8080", false}, // {"127.0.0:8080", false},
{"a", false},
{"127.0.0.1:a", false},
{"a:8080", false},
{"notahost", false},
{"127.0.0.1:notapath", false},
{"notahost:8080", false},
{"8082", false}, {"8082", false},
{"127.0.0:8080000", false}, {"127.0.0:8080000", false},
} }


Loading…
Cancel
Save