We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ea39775 commit 6eb7796Copy full SHA for 6eb7796
source/Nuke.Utilities.Tests/IO/MoveCopyTest.cs
@@ -45,12 +45,9 @@ public void TestCopyFile()
45
[Fact]
46
public void TestMoveFile()
47
{
48
- var source1 = TestTempDirectory / "source1.txt";
49
- var source2 = TestTempDirectory / "source2.txt";
50
- var source3 = TestTempDirectory / "source3.txt";
51
- source1.WriteAllText(nameof(source1));
52
- source2.WriteAllText(nameof(source2));
53
- source3.WriteAllText(nameof(source3));
+ var source1 = (TestTempDirectory / "source1.txt").TouchFile();
+ var source2 = (TestTempDirectory / "source2.txt").TouchFile();
+ var source3 = (TestTempDirectory / "source3.txt").TouchFile();
54
55
var target = TestTempDirectory / "target.txt";
56
source2.Move(target);
0 commit comments