aga,agar: Rename aga_dijkstra_all_paths()
[ccan] / ccan / agar / test / api-dijkstra.c
index ebdbf42d1a72d1a180c1441205e448d349943f7d..a5de2ea6b31b9e4074d871749293be4405151408 100644 (file)
@@ -231,7 +231,7 @@ static void test_shortcut2(void)
        struct agar_state *sr;
 
        ok1(sr = agar_dijkstra_new(NULL, &shortcut2_graphr.gr, int2ptr(1)));
-       agar_dijkstra_all_paths(sr);
+       agar_dijkstra_complete(sr);
        ok1(agar_error(sr) == AGA_ERR_NEGATIVE_COST);
        tal_free(sr);
 }