aga,agar: Rename aga_dijkstra_all_paths()
[ccan] / ccan / aga / test / api-dijkstra.c
index f9b8d764a7d6e198d23797afa404882b0009e8d6..74875fbc88f7de672acfb9be7a1cf6ea9e3f7eba 100644 (file)
@@ -241,7 +241,7 @@ static void test_shortcut2(void)
        shortcut2_graph_init(&s2g);
 
        ok1(aga_dijkstra_start(&s2g.sg.g, &s2g.sg.nodes[1]) == 0);
-       aga_dijkstra_all_paths(&s2g.sg.g);
+       aga_dijkstra_complete(&s2g.sg.g);
        ok1(aga_error(&s2g.sg.g) == AGA_ERR_NEGATIVE_COST);
        aga_finish(&s2g.sg.g);
 }