Skip to content

Commit b4d627d

Browse files
committed
Update Tests
1 parent d206e1c commit b4d627d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Tests/CodeEditSourceEditorTests/Highlighting/StyledRangeContainerTests.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ final class StyledRangeContainerTests: XCTestCase {
1111

1212
// Have to do string conversion due to missing Comparable conformance pre-macOS 14
1313
XCTAssertEqual(store._storage.keys.sorted(), providers)
14-
XCTAssert(store._storage.values.allSatisfy({ $0.length == 100 }), "One or more providers have incorrect length")
14+
XCTAssert(store._storage.values.allSatisfy({ $0.store.length == 100 }), "One or more providers have incorrect length")
1515
}
1616

1717
@MainActor
@@ -26,10 +26,10 @@ final class StyledRangeContainerTests: XCTestCase {
2626
)
2727

2828
XCTAssertNotNil(store._storage[providers[0]])
29-
XCTAssertEqual(store._storage[providers[0]]!.count, 3)
30-
XCTAssertNil(store._storage[providers[0]]!.runs(in: 0..<100)[0].value?.capture)
31-
XCTAssertEqual(store._storage[providers[0]]!.runs(in: 0..<100)[1].value?.capture, .comment)
32-
XCTAssertNil(store._storage[providers[0]]!.runs(in: 0..<100)[2].value?.capture)
29+
XCTAssertEqual(store._storage[providers[0]]!.store.count, 3)
30+
XCTAssertNil(store._storage[providers[0]]!.store.runs(in: 0..<100)[0].value?.capture)
31+
XCTAssertEqual(store._storage[providers[0]]!.store.runs(in: 0..<100)[1].value?.capture, .comment)
32+
XCTAssertNil(store._storage[providers[0]]!.store.runs(in: 0..<100)[2].value?.capture)
3333

3434
XCTAssertEqual(
3535
store.runsIn(range: NSRange(location: 0, length: 100)),

0 commit comments

Comments
 (0)