diff --git a/Solutions/Rlm.Cli.Tests/Core/Documents/WordDocumentReaderTests.cs b/Solutions/Rlm.Cli.Tests/Core/Documents/WordDocumentReaderTests.cs index aac2626..741d00e 100644 --- a/Solutions/Rlm.Cli.Tests/Core/Documents/WordDocumentReaderTests.cs +++ b/Solutions/Rlm.Cli.Tests/Core/Documents/WordDocumentReaderTests.cs @@ -100,8 +100,8 @@ public async Task ReadAsync_ComplexDocument_PreservesStructureCorrectly() // Empty paragraph with heading style should be just the hashes? Or maybe handled gracefully? // Implementation: content.Append(new string('#', level)).Append(' '); then append text. - // So empty paragraph -> "# \n" - content.ShouldContain("# \n"); + // So empty paragraph -> "# " + Environment.NewLine + content.ShouldContain("# " + Environment.NewLine); } private static void CreateDocxWithHeadings(string filePath)