mirror of
https://github.com/ocaml-tracing/ocaml-trace.git
synced 2026-03-08 03:47:57 -04:00
update test
This commit is contained in:
parent
cd57547232
commit
2d3eee8cb4
2 changed files with 1123 additions and 1020 deletions
2140
test/t1.expected
2140
test/t1.expected
File diff suppressed because it is too large
Load diff
|
|
@ -1,3 +1,5 @@
|
|||
let ( let@ ) = ( @@ )
|
||||
|
||||
let run () =
|
||||
Trace.set_process_name "main";
|
||||
Trace.set_thread_name "t1";
|
||||
|
|
@ -20,6 +22,7 @@ let run () =
|
|||
Trace.add_data_to_span _sp [ "i", `Int _i ];
|
||||
|
||||
if _j = 2 then (
|
||||
let@ () = Trace.with_context "LocalFrame" in
|
||||
Trace.add_data_to_span _sp [ "j", `Int _j ];
|
||||
let _sp =
|
||||
Trace.enter_manual_sub_span ~parent:pseudo_async_sp
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue