From 31a16b85d3112e8702511615b232a8cf71651ff9 Mon Sep 17 00:00:00 2001 From: Paul Woitaschek Date: Sat, 23 Sep 2023 18:22:16 +0200 Subject: [PATCH] Fix the test example (#461) The triple quote lead to a wrong syntax --- docs/testing.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!") } ```