Skip to content

Commit 20840d4

Browse files
committed
fix example: func Example() must be niladic
1 parent 07b85b9 commit 20840d4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

internal/testing/dnsmasq/example_test.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ import (
2323
"github.com/google/go-cmp/cmp"
2424
)
2525

26-
func Example(t *testing.T) {
26+
var t *testing.T = nil // TODO: test not currently runnable
27+
28+
func Example() {
2729
dnsmasq := dnsmasq.Run(t, "veth0b", "ns0")
2830
defer dnsmasq.Kill()
2931
// test code here

0 commit comments

Comments
 (0)