Skip to content

Commit a77e30a

Browse files
committed
Fix example plugin test build failure
Signed-off-by: leixiang <lynnl.yet@gmail.com>
1 parent 7915585 commit a77e30a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ func TestExample(t *testing.T) {
3030
// Call our plugin directly, and check the result.
3131
x.ServeDNS(ctx, rec, r)
3232
if a := b.String(); a != "example\n" {
33-
t.Errorf("Failed to print '%s', got %s", example, a)
33+
t.Errorf("Failed to print '%s', got %s", "example", a)
3434
}
3535
}

0 commit comments

Comments
 (0)