mirror of
https://github.com/SabreTools/MPF.git
synced 2026-04-05 22:01:16 +00:00
Fix tests from last change
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user