summaryrefslogtreecommitdiff
path: root/ride/difficulty_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'ride/difficulty_test.go')
-rw-r--r--ride/difficulty_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ride/difficulty_test.go b/ride/difficulty_test.go
index 5ba14c7..4b72037 100644
--- a/ride/difficulty_test.go
+++ b/ride/difficulty_test.go
@@ -54,6 +54,6 @@ func TestDifficultyScoreHautacamClimbfinderReference(t *testing.T) {
climbs := r.AllClimbs()
assert.Len(t, climbs, 6)
hautacam := climbs[5]
- assert.InDelta(t, 128.6, hautacam.Start().DistanceM/1000, 0.1)
+ assert.InDelta(t, 128.6, hautacam.StartDistanceM()/1000, 0.1)
assert.InDelta(t, 930.0, hautacam.DifficultyScore(), 10)
}