Skip to content

Commit 6af4599

Browse files
Adapted example demo to mocking mechanism
1 parent b17e353 commit 6af4599

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/demo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
)
1313

1414
func main() {
15-
distro := wsl.NewDistro("Ubuntu-GoWSL-demo")
15+
distro := wsl.NewDistro(context.Background(), "Ubuntu-GoWSL-demo")
1616

1717
// Registering a new distro
1818
fmt.Printf("Registering a new distro %q\n", distro.Name())

0 commit comments

Comments
 (0)