From b464d344319846ef7b7b2e387347bc908aa5ccc7 Mon Sep 17 00:00:00 2001 From: Valentin Date: Thu, 19 Dec 2024 15:59:50 +0100 Subject: [PATCH] Fix failing tests --- .../ZipFile/CreateFromDirectoryTests.cs | 2 +- .../ZipFile/ExtractToDirectoryTests.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); }