Uh oh!
There was an error while loading. Please reload this page.
test: move assert to improve clarity - #6428
Closed
Trott wants to merge 1 commit into
Closed
Conversation
A test is run, and then the relevant assertion is put after a different test. Place the assertion near the relevant thing it is testing for clarity.
cjihrig
commented
Apr 27, 2016
Contributor
LGTM |
mscdex
commented
Apr 27, 2016
Contributor
A tad unrelated but wouldn't it be better to just use |
Trott
commented
Apr 27, 2016
MemberAuthor
@mscdex Yup, probably. I started in on that too but then my "no no no, keep the changeset minimal, do that other stuff some other time" impulse took over. |
Trott
commented
Apr 27, 2016
MemberAuthor
jasnell
commented
Apr 29, 2016
Member
LGTM if you decide to land this. |
jasnell
commented
Apr 29, 2016
Member
addaleax
commented
Apr 29, 2016
Member
Adding |
jasnell
commented
Apr 29, 2016
Member
Agreed. |
Trott
commented
Apr 29, 2016
MemberAuthor
#6432 landed so I'm going to close this. |
This file contains hidden or 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
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist
Affected core subsystem(s)
test assert
Description of change
A test is run, and then the relevant assertion is put after a different
test. Place the assertion near the relevant thing it is testing for
clarity.