Skip to content

Commit 60c53f2

Browse files
#430: Add currentSystemDefaultTest
1 parent 4f5b897 commit 60c53f2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

core/common/test/TimeZoneTest.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ class TimeZoneTest {
3232
// TODO: decide how to assert system tz properties
3333
}
3434

35+
@Test
36+
fun currentSystemDefaultTest() {
37+
val tz = TimeZone.currentSystemDefault()
38+
println(tz)
39+
assertNotEquals(TimeZone.UTC, tz)
40+
}
41+
3542
@Test
3643
fun available() {
3744
val allTzIds = TimeZone.availableZoneIds

0 commit comments

Comments
 (0)