Skip to content

Commit 35ecac3

Browse files
fixed upcoming route objects test (#6884)
1 parent 047ca54 commit 35ecac3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

instrumentation-tests/src/androidTest/java/com/mapbox/navigation/instrumentation_tests/core/UpcomingRouteObjectsTest.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,9 @@ class UpcomingRouteObjectsTest : BaseTest<EmptyTestActivity>(EmptyTestActivity::
7676
.first { it.roadObject.id == incidentId }
7777

7878
assertEquals(
79-
upcomingIncidentForOneLeg.distanceToStart,
80-
upcomingIncidentForTwoLegsRoute.distanceToStart
79+
upcomingIncidentForOneLeg.distanceToStart!!,
80+
upcomingIncidentForTwoLegsRoute.distanceToStart!!,
81+
0.1
8182
)
8283
}
8384

0 commit comments

Comments
 (0)