Skip to content

Commit

Permalink
Include time in test/js
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinans committed Jan 13, 2025
1 parent e78e856 commit fdd34a6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions tests/js/test.ml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ let () =
let all_nodes = nodes agg in
print_endline "\nLandmark reached:";
all_nodes
|> List.map (fun {name; _} -> name)
|> List.sort compare
|> List.map (fun {name; time; _} -> Printf.sprintf "%s %.0f" name time)
|> List.sort String.compare
|> List.iter print_endline
end
6 changes: 3 additions & 3 deletions tests/js/test.out.expected
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
21

Landmark reached:
ROOT
fib
main
ROOT 3
fib 0
main 1

0 comments on commit fdd34a6

Please sign in to comment.