Revert "assorted formatting and typo fixes"

This commit is contained in:
Daniel Smith
2014-07-18 17:16:30 -07:00
parent 211f6b312f
commit 05f01a3654
11 changed files with 24 additions and 24 deletions

View File

@@ -112,14 +112,14 @@ func TestIsValidPortNum(t *testing.T) {
goodValues := []int{1, 2, 1000, 16384, 32768, 65535}
for _, val := range goodValues {
if !IsValidPortNum(val) {
t.Errorf("expected true for '%d'", val)
t.Errorf("expected true for '%s'", val)
}
}
badValues := []int{0, -1, 65536, 100000}
for _, val := range badValues {
if IsValidPortNum(val) {
t.Errorf("expected false for '%d'", val)
t.Errorf("expected false for '%s'", val)
}
}
}