Created
November 20, 2019 19:57
-
-
Save kousen/099e3ecc00e0ceb4697e035efa23d93e to your computer and use it in GitHub Desktop.
Validate the astronaut response
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
assert sql.rows('select * from ASTRONAUTS').size() == 6 | |
sql.eachRow('select * from ASTRONAUTS') { row -> | |
println "${row.name.padRight(20)} aboard ${row.craft}" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment