diff --git a/Tests/Testably.Abstractions.Compression.Tests/ZipFile/CreateFromDirectoryTests.cs b/Tests/Testably.Abstractions.Compression.Tests/ZipFile/CreateFromDirectoryTests.cs index ff24ad7d..d865bd78 100644 --- a/Tests/Testably.Abstractions.Compression.Tests/ZipFile/CreateFromDirectoryTests.cs +++ b/Tests/Testably.Abstractions.Compression.Tests/ZipFile/CreateFromDirectoryTests.cs @@ -307,7 +307,7 @@ void Act() } await That(Act).Should().Throw() - .WithMessage("The stream is unwritable").And + .WithMessage("The stream is unwritable*").AsWildcard().And .WithParamName("destination").And .WithHResult(-2147024809); } diff --git a/Tests/Testably.Abstractions.Compression.Tests/ZipFile/ExtractToDirectoryTests.cs b/Tests/Testably.Abstractions.Compression.Tests/ZipFile/ExtractToDirectoryTests.cs index 1d331e21..65e6619c 100644 --- a/Tests/Testably.Abstractions.Compression.Tests/ZipFile/ExtractToDirectoryTests.cs +++ b/Tests/Testably.Abstractions.Compression.Tests/ZipFile/ExtractToDirectoryTests.cs @@ -188,7 +188,7 @@ void Act() } await That(Act).Should().Throw() - .WithMessage("The stream is unreadable").And + .WithMessage("The stream is unreadable*").AsWildcard().And .WithParamName("source").And .WithHResult(-2147024809); }