Skip to content

Commit

Permalink
Sync with test file (mdx)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbin committed Feb 21, 2025
1 parent 271d3e5 commit 0d2bf57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions project/visa/doc/assembler.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,9 +274,9 @@ to generate 20 different outputs.
let%expect_test "loop run" =
let program = loop () in
let config = Visa_simulator.Config.create ~sleep:false ~stop_after_n_outputs:20 () in
Error_log.For_test.report (fun error_log ->
let%bind visa_simulator = Visa_simulator.create ~config ~error_log ~program in
Visa_simulator.run visa_simulator ~error_log);
Err.For_test.protect (fun () ->
let visa_simulator = Visa_simulator.create ~config ~program in
Visa_simulator.run visa_simulator |> Or_error.ok_exn);
[%expect
{|
1000000000000000000000000000000000000000000000000000000000000000
Expand Down

0 comments on commit 0d2bf57

Please sign in to comment.