Skip to content

Commit

Permalink
Fixing unit tests missing the new next_pos arg
Browse files Browse the repository at this point in the history
  • Loading branch information
Durbatuluk1701 committed Sep 9, 2024
1 parent 6191e97 commit fbe72f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion language-server/tests/dm_tests.ml
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ let%test_unit "step_forward.proof_view" =
let todo = Sel.Todo.(add todo events) in
let st = handle_events todo st in
[%test_pred: sentence_id option] (Option.equal Stateid.equal (Some s2.id)) (DocumentManager.Internal.observe_id st);
let data = DocumentManager.get_proof st Protocol.Settings.Goals.Diff.Mode.Off None in
let data = DocumentManager.get_proof st Protocol.Settings.Goals.Diff.Mode.Off None false in
[%test_eq: bool] (Option.is_some data) true
(*
let doc = DocumentManager.Internal.document st in
Expand Down
2 changes: 1 addition & 1 deletion language-server/tests/goals.ml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ let%test_unit "goals: encoding after replay from top" =
let st, exec_events, _ = DocumentManager.interpret_to_next st ~should_block_on_error:false in
let todo = Sel.Todo.(add empty exec_events) in
let st = handle_events todo st in
let proof = Stdlib.Option.get (DocumentManager.get_proof st Protocol.Settings.Goals.Diff.Mode.Off None) in
let proof = Stdlib.Option.get (DocumentManager.get_proof st Protocol.Settings.Goals.Diff.Mode.Off None false) in
let messages = DocumentManager.get_messages st None in
let _json = Protocol.ExtProtocol.Notification.Server.ProofViewParams.yojson_of_t { proof = Some proof; messages } in
()
Expand Down

0 comments on commit fbe72f7

Please sign in to comment.