Wrong expected exception assertion in tests#2908
Wrong expected exception assertion in tests#2908
Conversation
|
Hi @2xmax, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! The agreement was validated by Microsoft and real humans are currently evaluating your PR. TTYL, MSBOT; |
|
@2xmax Seems Travis-CI temporary failed. Try restart CI job (ex. resubmit commit). |
|
closed to rerun travis |
|
Hi @2xmax, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! The agreement was validated by Microsoft and real humans are currently evaluating your PR. TTYL, MSBOT; |
|
Hi @2xmax, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution! The agreement was validated by Microsoft and real humans are currently evaluating your PR. TTYL, MSBOT; |
|
@2xmax Just added another erroneous test. Maybe you fix this too? |
|
@2xmax Thanks for cleaning up the tests |
Hello, this is a follow-up pull request to the comment I left about expected exception assertions in the current tests.
To put it briefly, there were two problems I found:
As a result, in the case of no exception, the test would not become red. This command shows you lots mistakes like this:
P.S. We can also discuss how to prevent oversights like this in the future except for careful code-review, like using static code analysis or common fixtures