Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
matkoch committed Mar 31, 2024
1 parent ea39775 commit 6eb7796
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions source/Nuke.Utilities.Tests/IO/MoveCopyTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,9 @@ public void TestCopyFile()
[Fact]
public void TestMoveFile()
{
var source1 = TestTempDirectory / "source1.txt";
var source2 = TestTempDirectory / "source2.txt";
var source3 = TestTempDirectory / "source3.txt";
source1.WriteAllText(nameof(source1));
source2.WriteAllText(nameof(source2));
source3.WriteAllText(nameof(source3));
var source1 = (TestTempDirectory / "source1.txt").TouchFile();
var source2 = (TestTempDirectory / "source2.txt").TouchFile();
var source3 = (TestTempDirectory / "source3.txt").TouchFile();

var target = TestTempDirectory / "target.txt";
source2.Move(target);
Expand Down

0 comments on commit 6eb7796

Please sign in to comment.