Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 80493a5

Browse files
committed
Added example of handling exceptions to documentation.
1 parent 1da077e commit 80493a5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/userguide/expectations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ The call to `ut.fail` is required to make sure that the test fails, if we expect
511511

512512
The call to `ut.expect` uses `equal` matcher to check that the exception that was raised was exactly the one we were expecting to get in particular situation.
513513

514-
Depending on the situation you might want to check for both `sqlcode` and `sqlerrm` or even check if no changes were made in DB tables.
514+
Depending on the situation you will want to check for `sqlcode`, `sqlerrm`, both or perform additional expectation checks to make sure nothing was changed by the called procedure in the database.
515515

516516

517517
# Supported data types

0 commit comments

Comments
 (0)