From da25d6acb5461c240ddb8fbb8d6a15261ce7159a Mon Sep 17 00:00:00 2001 From: ShikiSuen Date: Fri, 14 Oct 2022 16:42:42 +0800 Subject: [PATCH] TDKCandidates // Fix unit test error. --- .../Tests/CandidateWindowTests/CandidatePoolTests.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 + ", " }