From 73d793b203348636530dc475653c71e3e0f2c0e6 Mon Sep 17 00:00:00 2001 From: Grayson Hilliard Date: Thu, 18 Jan 2024 19:02:28 -0800 Subject: [PATCH] fixes test, uses config in test --- ...SuppressNewlineFlag_PrefixDiv_Should_Be_Empty.verified.md | 3 --- src/ReverseMarkdown.Test/ConverterTests.cs | 5 ++++- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ReverseMarkdown.Test/ConverterTests.When_SuppressNewlineFlag_PrefixDiv_Should_Be_Empty.verified.md b/src/ReverseMarkdown.Test/ConverterTests.When_SuppressNewlineFlag_PrefixDiv_Should_Be_Empty.verified.md index 67ccadf..25c59c6 100644 --- a/src/ReverseMarkdown.Test/ConverterTests.When_SuppressNewlineFlag_PrefixDiv_Should_Be_Empty.verified.md +++ b/src/ReverseMarkdown.Test/ConverterTests.When_SuppressNewlineFlag_PrefixDiv_Should_Be_Empty.verified.md @@ -1,7 +1,4 @@ the - fox - jumps - over \ No newline at end of file diff --git a/src/ReverseMarkdown.Test/ConverterTests.cs b/src/ReverseMarkdown.Test/ConverterTests.cs index 2454a55..283d29d 100644 --- a/src/ReverseMarkdown.Test/ConverterTests.cs +++ b/src/ReverseMarkdown.Test/ConverterTests.cs @@ -1346,7 +1346,10 @@ public Task When_Spaces_In_Inline_Tags_Should_Be_Retained() public Task When_SuppressNewlineFlag_PrefixDiv_Should_Be_Empty() { var html = $"
the
fox
jumps
over
"; - return CheckConversion(html); + return CheckConversion(html, new Config + { + SuppressNewlines = true + }); } } }