Fix tests from last change

This commit is contained in:
Matt Nadareski
2026-04-04 11:41:26 -04:00
parent 822bf6fbca
commit a4d0de1e0d
3 changed files with 3 additions and 2 deletions

View File

@@ -1,6 +1,7 @@
### WIP (xxxx-xx-xx)
- Don't remove whitespace from cuesheets
- Fix tests from last change
### 3.7.1 (2026-03-30)

View File

@@ -382,7 +382,7 @@ namespace MPF.Processors.Test
[Fact]
public void GetCuesheet_Valid_Filled()
{
string? expected = "cuesheet";
string? expected = " cuesheet";
string log = Path.Combine(Environment.CurrentDirectory, "TestData", "Redumper", "CDROM", "test.log");
string? actual = Redumper.GetCuesheet(log);
Assert.Equal(expected, actual);

View File

@@ -1046,7 +1046,7 @@ namespace MPF.Processors
while (!string.IsNullOrEmpty(line?.Trim()))
{
// TODO: Figure out how to use NormalizeShiftJIS here
sb.AppendLine(line);
sb.AppendLine(line?.TrimEnd());
line = sr.ReadLine();
}