diff --git a/Packages/vChewing_CandidateWindow/Tests/CandidateWindowTests/CandidatePoolTests.swift b/Packages/vChewing_CandidateWindow/Tests/CandidateWindowTests/CandidatePoolTests.swift index 4252e02f..1331adfb 100644 --- a/Packages/vChewing_CandidateWindow/Tests/CandidateWindowTests/CandidatePoolTests.swift +++ b/Packages/vChewing_CandidateWindow/Tests/CandidateWindowTests/CandidatePoolTests.swift @@ -21,7 +21,7 @@ final class CandidatePoolTests: XCTestCase { func testPoolHorizontal() throws { let pool = CandidatePool(candidates: testCandidates, rowCapacity: 6) var strOutput = "" - pool.candidateRows.forEach { + pool.candidateLines.forEach { $0.forEach { strOutput += $0.displayedText + ", " } @@ -34,7 +34,7 @@ final class CandidatePoolTests: XCTestCase { func testPoolVertical() throws { let pool = CandidatePool(candidates: testCandidates, columnCapacity: 6) var strOutput = "" - pool.candidateColumns.forEach { + pool.candidateLines.forEach { $0.forEach { strOutput += $0.displayedText + ", " }