aboutsummaryrefslogtreecommitdiff
path: root/test/grpc_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/grpc_test.go')
-rw-r--r--test/grpc_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/grpc_test.go b/test/grpc_test.go
index 4e01ea8f0..4795819fb 100644
--- a/test/grpc_test.go
+++ b/test/grpc_test.go
@@ -52,10 +52,10 @@ func TestGrpc(t *testing.T) {
}
if d.Rcode != dns.RcodeSuccess {
- t.Errorf("Expected success but got %s", d.Rcode)
+ t.Errorf("Expected success but got %d", d.Rcode)
}
if len(d.Extra) != 2 {
- t.Errorf("Expected 2 RRs in additional section, but got %s", len(d.Extra))
+ t.Errorf("Expected 2 RRs in additional section, but got %d", len(d.Extra))
}
}