diff --git a/CHANGELIST.md b/CHANGELIST.md index 0cf3c5a7..a3587609 100644 --- a/CHANGELIST.md +++ b/CHANGELIST.md @@ -40,6 +40,7 @@ - Don't set MediaType if parameters ambiguous - Fix parameters after extension change - Fix logic for deducing region from PlayStation ISN (John Veness) +- Fix broken test logic ### 3.2.0 (2024-06-20) diff --git a/MPF.Test/Frontend/Tools/InfoToolTests.cs b/MPF.Test/Frontend/Tools/InfoToolTests.cs index 32ff8e40..578f2a14 100644 --- a/MPF.Test/Frontend/Tools/InfoToolTests.cs +++ b/MPF.Test/Frontend/Tools/InfoToolTests.cs @@ -20,7 +20,7 @@ namespace MPF.Test.Frontend.Tools [InlineData("superhero\\blah&foo.bin", "superhero\\blah&foo.bin")] public void NormalizeOutputPathsTest(string? outputPath, string? expectedPath) { - if (!string.IsNullOrWhiteSpace(expectedPath)) + if (!string.IsNullOrEmpty(expectedPath)) expectedPath = Path.GetFullPath(expectedPath); string actualPath = FrontendTool.NormalizeOutputPaths(outputPath, true);