Skip to content

Commit

Permalink
Fix the test example (#461)
Browse files Browse the repository at this point in the history
The triple quote lead to a wrong syntax
  • Loading branch information
PaulWoitaschek authored Sep 23, 2023
1 parent ba90c85 commit 31a16b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!")
}
```
Expand Down

0 comments on commit 31a16b8

Please sign in to comment.