diff --git a/docs/testing.md b/docs/testing.md index 56913ae5..f1f4e1ed 100644 --- a/docs/testing.md +++ b/docs/testing.md @@ -42,7 +42,7 @@ You can set environment variables for your command by passing in a map of `envva @Test fun testHello() { val command = Hello() - val result = command.test(""", envvars=mapOf("HELLO_NAME" to "Foo")) + val result = command.test("", envvars=mapOf("HELLO_NAME" to "Foo")) assertEqual(result.stdout, "Hello, Foo!") } ```