Docfix: cleanup
This commit is contained in:
@@ -72,8 +72,8 @@ func TestDetectDNS(t *testing.T) {
|
||||
return
|
||||
}
|
||||
t.Logf("detected %s confidence %g%%", p.Name, c*100)
|
||||
if p.Name != Name {
|
||||
t.Errorf("expected %q protocol, got %q", Name, p.Name)
|
||||
if p.Name != protocolName {
|
||||
t.Errorf("expected %q protocol, got %q", protocolName, p.Name)
|
||||
}
|
||||
})
|
||||
|
||||
@@ -84,8 +84,8 @@ func TestDetectDNS(t *testing.T) {
|
||||
return
|
||||
}
|
||||
t.Logf("detected %s confidence %g%%", p.Name, c*100)
|
||||
if p.Name != Name {
|
||||
t.Errorf("expected %q protocol, got %q", Name, p.Name)
|
||||
if p.Name != protocolName {
|
||||
t.Errorf("expected %q protocol, got %q", protocolName, p.Name)
|
||||
}
|
||||
})
|
||||
|
||||
@@ -96,8 +96,8 @@ func TestDetectDNS(t *testing.T) {
|
||||
return
|
||||
}
|
||||
t.Logf("detected %s confidence %g%%", p.Name, c*100)
|
||||
if p.Name != Name {
|
||||
t.Errorf("expected %q protocol, got %q", Name, p.Name)
|
||||
if p.Name != protocolName {
|
||||
t.Errorf("expected %q protocol, got %q", protocolName, p.Name)
|
||||
}
|
||||
})
|
||||
|
||||
@@ -108,8 +108,8 @@ func TestDetectDNS(t *testing.T) {
|
||||
return
|
||||
}
|
||||
t.Logf("detected %s confidence %g%%", p.Name, c*100)
|
||||
if p.Name != Name {
|
||||
t.Errorf("expected %q protocol, got %q", Name, p.Name)
|
||||
if p.Name != protocolName {
|
||||
t.Errorf("expected %q protocol, got %q", protocolName, p.Name)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user