Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove a weird unicode character #190

Merged
merged 1 commit into from
Nov 15, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/STM_internal.ml
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,8 @@ module Make(Spec : STM_spec.Spec) = struct
(fun (seq,p1,p2) -> all_interleavings_ok seq p1 p2 Spec.init_state)
(fun ((seq,p1,p2) as triple) ->
(* Shrinking heuristic:
First reduce the cmd list sizes as much as possible, since the interleaving
is most costly over long cmd lists. *)
First reduce the cmd list sizes as much as possible, since the interleaving
is most costly over long cmd lists. *)
(map (fun seq' -> (seq',p1,p2)) (Shrink.list_spine seq))
<+>
(match p1 with [] -> Iter.empty | c1::c1s -> Iter.return (seq@[c1],c1s,p2))
Expand Down
4 changes: 2 additions & 2 deletions lib/STM_spec.mli
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ sig

val next_state : cmd -> state -> state
(** [next_state c s] expresses how interpreting the command [c] moves the
model's internal state machine from the state [s] to the next state.
Ideally a [next_state] function is pure. *)
model's internal state machine from the state [s] to the next state.
Ideally a [next_state] function is pure. *)

val init_sut : unit -> sut
(** Initialize the system under test. *)
Expand Down