diff --git a/Directory.Packages.props b/Directory.Packages.props index 87ee022de..797f6ff26 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -27,9 +27,9 @@ - - - + + + diff --git a/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs b/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs index 3694c466e..9dce1c9d8 100644 --- a/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs +++ b/tests/TestableIO.System.IO.Abstractions.TestingHelpers.Tests/MockFileTests.cs @@ -744,6 +744,6 @@ public async Task MockFile_Replace_SourceAndDestinationDifferOnlyInCasing_Should void Act() => fileSystem.File.Replace(sourceFilePath, destFilePath, null, true); await That(Act).Throws() - .HasMessage("The process cannot access the file because it is being used by another process."); + .WithMessage("The process cannot access the file because it is being used by another process."); } } \ No newline at end of file