-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#2213 Test erroneous union queries with different numbers of yields
In general, this approach of asserting that an exception is thrown is far from the best because it ignores potential exceptions that may be thrown for unexpected reasons. Being more specific and expecting only a certain type of exceptions doesn't work either since the exception gets rethrown at some higher level, effectively becoming a cause of another exception. Should we be making assertions about the stack trace at this point? I don't think so.
- Loading branch information
1 parent
8a073a1
commit e9c8823
Showing
2 changed files
with
20 additions
and
0 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