-
Notifications
You must be signed in to change notification settings - Fork 19
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 workdir cmdline arg #158
Conversation
@SimonBaeumer I'll probably have the prototype PR up for the Let me know if this needs any changes. Best |
@@ -178,6 +178,11 @@ func Test_ConvergeResults(t *testing.T) { | |||
assert.Equal(t, 1, actual.Failed) | |||
} | |||
|
|||
func Test_TestCommand_InvalidDir(t *testing.T) { | |||
err := TestCommand("foo", TestCommandContext{Workdir: "invalid_dir"}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this needs a check for windows like
if runtime.GOOS == "windows" {
assert....
} else {
assert...
}
LGTM, only one small change necessary in the unit tests for windows |
8341543
to
bda6b73
Compare
Code Climate has analyzed commit bda6b73 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (50% is the threshold). This pull request will bring the total coverage in the repository to 92.4% (0.0% change). View more on Code Climate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
@dylanhitt feel free to merge it
Fixes #156
Checklist
Linux
,Windows
andmacOS
?