-
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor and fix assert_expected_matched_actual (#65)
* Refactor and fix assert_expected_matched_actual This PR: - Refactors assert_expected_matched_actual function to avoid repeated matching between expected and actual output - Fixes #63, #64 * Reorder imports * Add test file * Add back leading or trainling ... in case of matching input * Fix and group leading / trailing ... logic * Update test-expect-fail.yaml file * Update tests * Express error_message prefix in terms of actual and expected * Drop data test and add unit tests * Add return type annotation * Make exact match on the error_message * Reformat utils.py
- Loading branch information
Showing
2 changed files
with
234 additions
and
74 deletions.
There are no files selected for viewing
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
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