mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix incorrect error type.
Signed-off-by: Liang-Chi Hsieh <viirya@gmail.com>
This commit is contained in:
parent
e4b2f802ae
commit
bc4edbbe71
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ func TestHttpsInfoRogueServerCert(t *testing.T) {
|
|||
}
|
||||
|
||||
if !strings.Contains(err.Error(), errCaUnknown) {
|
||||
t.Fatalf("Expected error: %s, got instead: %s", errBadCertificate, err)
|
||||
t.Fatalf("Expected error: %s, got instead: %s", errCaUnknown, err)
|
||||
}
|
||||
|
||||
})
|
||||
|
|
Loading…
Add table
Reference in a new issue