Skip to content

Commit

Permalink
Update robo-directive doc to match the code (#287)
Browse files Browse the repository at this point in the history
The code expects at least 2 elements for subarray https://github.com/runningcode/fladle/blob/master/fladle-plugin/src/main/java/com/osacky/flank/gradle/YamlWriter.kt#L103 and will throw an out of bounds exception if you pass what is shown in the documentation.
  • Loading branch information
changusmc authored Feb 1, 2022
1 parent ea212fc commit 56e28a3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -759,15 +759,15 @@ List of robo_directives that you can use to customize the behavior of Robo test.
=== "Groovy"
``` groovy
roboDirectives = [
["test:input_resource_name", "message"],
["click:button_resource_name", ""],
["test, "input_resource_name", "message"],
["click, "button_resource_name", ""],
]
```
=== "Kotlin"
``` kotlin
roboDirectives.set(listOf(
listOf("test:input_resource_name", "message"),
listOf("click:button_resource_name", ""),
listOf("test", "input_resource_name", "message"),
listOf("click", "button_resource_name", ""),
))
```

Expand Down

0 comments on commit 56e28a3

Please sign in to comment.