Skip to content

Commit

Permalink
Test flakiness: Sometimes the flame box floats are dot point 1 digit
Browse files Browse the repository at this point in the history
  • Loading branch information
lukstafi committed Mar 20, 2024
1 parent af7cd84 commit c8f531d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_expect_test.ml
Original file line number Diff line number Diff line change
Expand Up @@ -3580,7 +3580,7 @@ let%expect_test "flame graph" =
close_in file;
let output = [%expect.output] in
let output =
Str.global_replace (Str.regexp {|[0-9]+\.[0-9][0-9][0-9]+|}) "N.NNNN" output
Str.global_replace (Str.regexp {|[0-9]+\.[0-9]+%|}) "N.NNNN%" output
in
print_endline output;
[%expect
Expand Down Expand Up @@ -3685,7 +3685,7 @@ let%expect_test "flame graph reduced ToC" =
close_in file;
let output = [%expect.output] in
let output =
Str.global_replace (Str.regexp {|[0-9]+\.[0-9][0-9][0-9]+|}) "N.NNNN" output
Str.global_replace (Str.regexp {|[0-9]+\.[0-9]+%|}) "N.NNNN%" output
in
print_endline output;
[%expect
Expand Down

0 comments on commit c8f531d

Please sign in to comment.