We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 951834a commit 057e7fbCopy full SHA for 057e7fb
Tests/RichTextKitTests/_Foundation/RichTextCoordinatorTests.swift
@@ -98,10 +98,8 @@ final class RichTextCoordinatorTests: XCTestCase {
98
XCTAssertEqual(context.styles[.italic], styles.hasStyle(.italic))
99
XCTAssertEqual(context.styles[.underlined], styles.hasStyle(.underlined))
100
XCTAssertEqual(context.selectedRange, view.selectedRange)
101
- #if iOS || os(tvOS)
+ #if iOS || os(tvOS) || os(macOS)
102
XCTAssertEqual(context.paragraphStyleValue(for: \.alignment), view.richTextParagraphStyleValue(\.alignment))
103
- #elseif macOS
104
- XCTAssertEqual(context.textAlignment, macOSAlignment)
105
#endif
106
}
107
0 commit comments