[iter] Fix test
authorBehdad Esfahbod <behdad@behdad.org>
Mon, 7 Jan 2019 23:59:26 +0000 (18:59 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Mon, 21 Jan 2019 01:12:12 +0000 (20:12 -0500)
src/test-iter.cc

index 8b66737..fbe0708 100644 (file)
@@ -80,7 +80,7 @@ test_iterator (Iterator it)
 
   assert (*it == it[0]);
 
-  if (it.is_random_access ()) {}
+  if (it.is_random_access_iterator) {}
 }
 
 template <typename Iterable> static void