Skip to content

Commit

Permalink
[no ci] improve comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ptrthomas committed Nov 19, 2022
1 parent 5c6ef84 commit abeb49d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion karate-demo/src/test/java/demo/dogs/dogs.feature
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ And match response contains { id: '#(id)', name: 'Scooby' }
* def DbUtils = Java.type('com.intuit.karate.demo.util.DbUtils')
* def db = new DbUtils(config)

# since the DbUtils returns a Java Map, it becomes normal JSON here !
# since the DbUtils returns a Java List (of Map-s), it becomes normal JSON here !
# which means that you can use the full power of Karate's 'match' syntax
* def dogs = db.readRows('SELECT * FROM DOGS')
* match dogs contains { ID: '#(id)', NAME: 'Scooby' }
Expand Down

0 comments on commit abeb49d

Please sign in to comment.