-
-
Notifications
You must be signed in to change notification settings - Fork 732
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
Closes #486: CopyFile logs incorrect targetFilePath #487
Conversation
Looks sold @jrnail23 👍 , could you get the branch up to date and I'll merge. |
b7b5f62
to
3ed4531
Compare
@devlead, should be ready to go now, pending CI build |
Restarted Linux build that had timed out when restoring NuGet packages. |
@patriksvensson, did it happen again? |
@jrnail23 Hmm. Yes 😢 I'll restart it again. I should really try to get the packages properly cached on Travis since this fail in more than 50% of the builds. |
var fixture = new FileCopyFixture(); | ||
|
||
// When | ||
FileAliases.CopyFile(fixture.Context, "./file1.txt", "./target/file1.txt"); |
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.
Sorry for nitpicking, but a better test would be to test for ./file1.txt
and ./target/file2.txt
.
If I understand correctly the bug will output the filename of the target file first, which would give the same results.
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.
I agree, but the fixture isn't very straightforward in terms of changing that part. I did, however, start from a failing test.
I can still try to get that to work if you like.
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.
Ah, I see. I think it's OK then 😄
This looks good to me 👍 |
@jrnail23 Looks like this needs to be rebased against develop. |
3ed4531
to
94ca297
Compare
@patriksvensson, rebased again, ready to go (pending CI build) |
Closes #486: CopyFile logs incorrect targetFilePath
Merged @jrnail23, thanks for contributing 👍 |
👍 |
No description provided.