forked from dasrick/go-teams-notify
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove invalid errors.As() usage, name test cases
Remove errors.As() comparison logic until I can determine how to use a table test configuration to reliably assert that an expected error is of a specific type. Tweak test failure message format slightly to improve readability. Add `name` field to table test struct, move test name comments from each table test into name value (so that each test case is properly labeled in output). Run each test case as a subtest in an effort to provide additional isolation. refs GH-176
- Loading branch information
Showing
1 changed file
with
81 additions
and
114 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