diff --git a/Tests/SaplingEditorTests/MarkdownTextStylerRenderingTests.swift b/Tests/SaplingEditorTests/MarkdownTextStylerRenderingTests.swift index 21f6e36..80acbca 100644 --- a/Tests/SaplingEditorTests/MarkdownTextStylerRenderingTests.swift +++ b/Tests/SaplingEditorTests/MarkdownTextStylerRenderingTests.swift @@ -40,6 +40,7 @@ final class MarkdownTextStylerRenderingTests: XCTestCase { XCTAssertTrue(isHidden(storage, at: checkedMarker.location)) XCTAssertFalse(isHidden(storage, at: checkedMarker.location + 2)) + XCTAssertNotNil(storage.attribute(.backgroundColor, at: checkedMarker.location + 2, effectiveRange: nil)) XCTAssertTrue(isHidden(storage, at: uncheckedMarker.location)) XCTAssertFalse(isHidden(storage, at: uncheckedMarker.location + 2)) XCTAssertNotNil(storage.attribute(.strikethroughStyle, at: doneRange.location, effectiveRange: nil))