diff --git a/example_test.go b/example_test.go index 6b98814..f9d9251 100644 --- a/example_test.go +++ b/example_test.go @@ -30,6 +30,6 @@ func TestExample(t *testing.T) { // Call our plugin directly, and check the result. x.ServeDNS(ctx, rec, r) if a := b.String(); a != "example\n" { - t.Errorf("Failed to print '%s', got %s", example, a) + t.Errorf("Failed to print '%s', got %s", "example", a) } }