test: using common.isWindows consistently#2269
test: using common.isWindows consistently#2269thefourtheye wants to merge 3 commits intonodejs:masterfrom
Conversation
abd0432 to
0c6c1c4
Compare
|
LGTM if the CI is happy. You might want to change some of the |
|
Rubber-stamp LGTM if CI is happy. Maybe change to commit line to something like "test: use common.isWindows() check everywhere" (or "consistently"), I think that explains it just a little bit better. |
|
@cjihrig Actually I am working on another PR which will replace all the @bnoordhuis Sure, I ll change it when I am landing it. |
There was a problem hiding this comment.
Can we just use common.isWindows on line 28?
|
Mostly LGTM |
|
@Fishrock123 You want to replace the variables with |
|
@thefourtheye might as well. |
89422b1 to
0dba4ed
Compare
0dba4ed to
dcb2c68
Compare
|
@Fishrock123 I did that change and I had to rebase, so that I can pull in #2265. @bnoordhuis I fixed the commit line, PTAL. CI run 2: Edit: Sorry, I pushed few more files. Restarting the CI and the latest is at iojs+any-pr+multi/215 |
dcb2c68 to
9d2cfcf
Compare
|
I'd s/using/use/, that's the prevalent tense in commit messages. Ideally, you'd add one or two lines describing the what and why of the change but in this case it's pretty self-explanatory. |
|
@bnoordhuis ah, your original comment had use only. My bad. I ll fix it while landing :-) |
|
CI is almost green and about the SmartOS failure, @targos and @bnoordhuis are working on it in #2220 @cjihrig Oh sorry, I totally misunderstood what you were saying. BTW, as per Fishrock123's comments, I removed all those variables. Does it look fine to you now? cc @Fishrock123 |
|
Still LGTM |
There was a problem hiding this comment.
Might as well also do it here then?
There was a problem hiding this comment.
And then I thought I covered everything :D
|
LGTM. You didn't have to change the ones that were used a bunch of times in the file, but, either way |
|
CI run 3: iojs+any-pr+multi/216/ I'll land this, if it turns green. |
In the tests, we use "process.platform === 'win32'" in some places. This patch replaces them with the "common.isWindows" for consistency. PR-URL: #2269 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
|
Thanks people. Landed at d5ab92b |
No description provided.