diff --git a/libs/ardour/test/tempo_test.cc b/libs/ardour/test/tempo_test.cc index 1f074d5e03..25fbc32a5a 100644 --- a/libs/ardour/test/tempo_test.cc +++ b/libs/ardour/test/tempo_test.cc @@ -53,6 +53,9 @@ TempoTest::recomputeMapTest () list::iterator i = map.metrics->begin(); CPPUNIT_ASSERT_EQUAL (framepos_t (0), (*i)->frame ()); CPPUNIT_ASSERT_EQUAL (framepos_t (0), (*i)->frame ()); + + i = map.metrics->end(); + --i; CPPUNIT_ASSERT_EQUAL (framepos_t (288e3), (*i)->frame ()); CPPUNIT_ASSERT_EQUAL (framepos_t (288e3), (*i)->frame ()); }