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 cf5dbdd commit 06ffeadCopy full SHA for 06ffead
Tests/CodeEditSourceEditorTests/Controller/TextViewControllerTests.swift
@@ -469,8 +469,12 @@ final class TextViewControllerTests: XCTestCase {
469
470
controller.configuration.peripherals.showFoldingRibbon = true
471
XCTAssertTrue(controller.gutterView.showFoldingRibbon)
472
+ XCTAssertFalse(controller.gutterView.foldingRibbon.isHidden)
473
controller.gutterView.updateWidthIfNeeded() // Would be called on a display pass
- XCTAssertEqual(controller.gutterView.frame.width, noRibbonWidth + 7.0)
474
+ XCTAssertEqual(
475
+ controller.gutterView.frame.width,
476
+ noRibbonWidth + 7.0 + controller.gutterView.foldingRibbonPadding
477
+ )
478
}
479
480
// MARK: - Get Overlapping Lines
0 commit comments