We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96304da commit 5a2d6f1Copy full SHA for 5a2d6f1
test/backtrace.ml
@@ -31,6 +31,7 @@ let _ =
31
let open Printexc in
32
let bt = get_raw_backtrace () in
33
let bt_slot_arr = Option.get (backtrace_slots bt) in
34
- assert (Option.get (Slot.name bt_slot_arr.(1)) = "Backtrace.foo");
+ let name = Option.get (Slot.name bt_slot_arr.(1)) in
35
+ assert (name = "Backtrace.foo" || name = "Dune__exe__Backtrace.foo");
36
let s = raw_backtrace_to_string bt in
37
print_string s
0 commit comments