Skip to content

Commit 85581b2

Browse files
committed
Correct typing of Int instead of Long
1 parent 720ed98 commit 85581b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/shared/src/test/scala/org/threeten/bp/TestLocalTime.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1833,7 +1833,7 @@ class TestLocalTime
18331833

18341834
test("test_minusNanos_fromZero") {
18351835
minusNanos_fromZero.asScala.toList.foreach {
1836-
case (nanoseconds: Long) :: (hour: Long) :: (min: Long) :: (sec: Long) :: (nanos: Long) :: Nil =>
1836+
case (nanoseconds: Long) :: (hour: Int) :: (min: Int) :: (sec: Int) :: (nanos: Long) :: Nil =>
18371837
val base: LocalTime = LocalTime.MIDNIGHT
18381838
val t: LocalTime = base.minusNanos(nanoseconds)
18391839
assertEquals(hour, t.getHour)

0 commit comments

Comments
 (0)