Skip to content

Commit 01ea3bf

Browse files
fix readme examples snippet highlight
1 parent a034e97 commit 01ea3bf

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Use one layer to re-enforce tests on another. E.g. REST API layer to set up data
2020
to validate GraphQL API.
2121

2222
Use REPL to tighten test feedback loop and speed up test writing
23-
```
23+
```groovy
2424
webtau:000> $("ul li a")
2525
element is found: by css ul li a
2626
getText(): Guide
@@ -75,7 +75,7 @@ public class SearchPage {
7575
```
7676

7777
[GraphQL example](https://testingisdocumenting.org/webtau/GraphQL/introduction):
78-
```
78+
```groovy
7979
@Webtau
8080
public class GraphQLWeatherJavaIT {
8181
@Test
@@ -89,7 +89,7 @@ public class GraphQLWeatherJavaIT {
8989
```
9090

9191
[Database data setup example](https://testingisdocumenting.org/webtau/database/data-setup):
92-
```
92+
```groovy
9393
def PRICES = db.table("PRICES")
9494
PRICES << [ "id" | "description" | "available" | "type" | "price" ] {
9595
_____________________________________________________________________________________________
@@ -99,7 +99,7 @@ PRICES << [ "id" | "description" | "available" | "ty
9999
```
100100

101101
[CLI run example](https://testingisdocumenting.org/webtau/cli/introduction):
102-
```
102+
```groovy
103103
cli.run('echo hello world') {
104104
output.should contain('hello')
105105
output.should contain('world')

0 commit comments

Comments
 (0)