From ea39775885afa1db8975feee64f770bdb2d3d3fb Mon Sep 17 00:00:00 2001 From: Matthias Koch Date: Sun, 31 Mar 2024 04:42:54 +0200 Subject: [PATCH] fix --- source/Nuke.Utilities.Tests/IO/MoveCopyTest.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/Nuke.Utilities.Tests/IO/MoveCopyTest.cs b/source/Nuke.Utilities.Tests/IO/MoveCopyTest.cs index c9e332022..f0a559698 100644 --- a/source/Nuke.Utilities.Tests/IO/MoveCopyTest.cs +++ b/source/Nuke.Utilities.Tests/IO/MoveCopyTest.cs @@ -63,6 +63,8 @@ public void TestMoveFile() source1.Move(target, policy: ExistsPolicy.FileSkip).Should().Be(source1); source1.Move(target, policy: ExistsPolicy.FileOverwriteIfNewer).Should().Be(source1); + + source3.TouchFile(); source3.Move(target, policy: ExistsPolicy.FileOverwriteIfNewer).Should().Be(target); }