-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Add new error code tests #35274
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new error code tests #35274
Conversation
In case anyone is wondering - I'm using these to make sure we have coverage as we convert the new error codes. After we're done, it probably makes sense for these to live in their own directory in |
@bors r+ |
📌 Commit fb2d940 has been approved by |
Won’t these essentially duplicate existing tests? |
@bors: r- |
fb2d940
to
8502c6c
Compare
Updated (some errors have disappear or be replaced). |
I know what it is for. I'm wondering if there aren't already a test that On Aug 4, 2016 2:37 PM, "Guillaume Gomez" [email protected] wrote:
|
@nagisa: They are, but they rarely target a specific error code. |
@nagisa - there may already be a tested, but it's difficult to see what our coverage is without literally searching for each error code. One possibly future fix would be to include the error code in the unit test filename, so that we can see error codes that aren't being checked. I noticed quite a few don't have tests that only got them because of @GuillaumeGomez's work. We can also put them in a separate directory under |
I'm seeing a lot of error codes without any tests. You'd think this would be duplicating work, and it probably will in some cases, but I think coverage is more important. @bors r+ |
📌 Commit 8502c6c has been approved by |
💡 This pull request was already approved, no need to approve it again.
|
📌 Commit 8502c6c has been approved by |
Add new error code tests r? @jonathandturner
r? @jonathandturner