Skip to content

Commit e1dc2e1

Browse files
committed
Fix: flaky test (OS-specific newlines)
1 parent 3a36350 commit e1dc2e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MoonPress.Rendering.Tests/MarkdownRendererTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public void RenderMarkdown_EmptyFields_RendersEmptyStrings()
7676
Assert.That(result, Does.Contain("id: "));
7777
Assert.That(result, Does.Contain("title: "));
7878
Assert.That(result, Does.Contain("summary: "));
79-
Assert.That(result, Does.Contain("---\n\n"));
79+
Assert.That(result, Does.Contain("---"));
8080
}
8181

8282
[Test]

0 commit comments

Comments
 (0)