mirror of
https://github.com/coredns/coredns.git
synced 2025-11-01 18:53:43 -04:00
complete nsid plugin test case (#3981)
Signed-off-by: zounengren <zounengren@cmss.chinamobile.com>
This commit is contained in:
@@ -57,7 +57,7 @@ func TestNsid(t *testing.T) {
|
||||
if err != tc.expectedErr {
|
||||
t.Errorf("Test %d: Expected error %v, but got %v", i, tc.expectedErr, err)
|
||||
}
|
||||
if code != int(tc.expectedCode) {
|
||||
if code != tc.expectedCode {
|
||||
t.Errorf("Test %d: Expected status code %d, but got %d", i, tc.expectedCode, code)
|
||||
}
|
||||
if tc.expectedReply != "" {
|
||||
|
||||
Reference in New Issue
Block a user