diff options
Diffstat (limited to 'tests/testreadonlymap.vala')
-rw-r--r-- | tests/testreadonlymap.vala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/testreadonlymap.vala b/tests/testreadonlymap.vala index c32f763..0cb6d2e 100644 --- a/tests/testreadonlymap.vala +++ b/tests/testreadonlymap.vala @@ -87,7 +87,9 @@ public class ReadOnlyMapTests : Gee.TestCase { assert (! iterator.has_next ()); assert (! iterator.next ()); - assert (iterator.first ()); + iterator = ro_map.keys.iterator (); + assert (iterator.has_next ()); + assert (iterator.next ()); assert (iterator.get () == "one"); if (Test.trap_fork (0, TestTrapFlags.SILENCE_STDOUT | |