Skip to content

Commit 8fa63ae

Browse files
Remove debug print statements from TimeZoneNativeTest.
1 parent 7624587 commit 8fa63ae

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

core/darwin/test/TimeZoneNativeTest.kt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -366,12 +366,10 @@ class TimeZoneNativeTest {
366366
for ((zoneId, localDateTimes) in timeZoneRulesTestCases) {
367367
val regularRules = tzdb.rulesForId(zoneId)
368368
val foundationRules = TimeZoneRulesFoundation(zoneId)
369-
println(formatHeader(zoneId))
370369

371370
for ((localDateTime, expectedType) in localDateTimes) {
372371
val regularInfo = regularRules.infoAtDatetime(localDateTime)
373372
val foundationInfo = foundationRules.infoAtDatetime(localDateTime)
374-
println("regularInfo: $regularInfo, foundationInfo: $foundationInfo")
375373

376374
assertOffsetInfoType(foundationInfo, expectedType)
377375

@@ -389,13 +387,6 @@ class TimeZoneNativeTest {
389387
assertEquals(expectedType, actualType)
390388
}
391389

392-
private fun formatHeader(zoneId: String, preferredLength: Int = 75): String {
393-
val total = preferredLength - zoneId.length - 2
394-
val leftPart = "-".repeat(total / 2)
395-
val rightPart = "-".repeat(total / 2 + total % 2)
396-
return "$leftPart $zoneId $rightPart"
397-
}
398-
399390
// timeZone.atZone(LocalDateTime) tests
400391

401392
@Test

0 commit comments

Comments
 (0)