Fix broken test logic

This commit is contained in:
Matt Nadareski
2024-07-16 13:03:58 -04:00
parent 246e6b8bfd
commit ab8e775df0
2 changed files with 2 additions and 1 deletions

View File

@@ -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)

View File

@@ -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);