mirror of
https://github.com/coredns/coredns.git
synced 2025-11-29 15:14:02 -05:00
fix: remove unnecessary conversion (#6258)
Signed-off-by: Zhizhen He <hezhizhen.yi@gmail.com>
This commit is contained in:
@@ -119,7 +119,7 @@ func TestNsidCache(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