File tree Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 4
4
- BREAKING: ` match_raises ` now expects the user-defined function to return
5
5
true for expected exceptions. Previously false was interpreted as an
6
6
expected exception. (#418 , #419 , @psafont )
7
+ - Expose the ` V1.Skip ` exception (#415 , #416 , @Khady )
7
8
8
9
### 1.8.0 (2024-07-25)
9
10
Original file line number Diff line number Diff line change 449
449
module V1 = struct
450
450
include V1_types
451
451
module Make = Make
452
+
453
+ exception Skip = Skip
452
454
end
Original file line number Diff line number Diff line change 111
111
112
112
module type Core = sig
113
113
exception Check_error of unit Fmt. t
114
- exception Skip
115
114
116
115
module V1 : sig
117
116
module type S = V1_types. S
@@ -122,5 +121,7 @@ module type Core = sig
122
121
[('a -> unit M.t)] within a given concurrency monad [M.t]. The [run] and
123
122
[run_with_args] functions must be scheduled in a global event loop.
124
123
Intended for use by the {!Alcotest_lwt} and {!Alcotest_async} backends. *)
124
+
125
+ exception Skip
125
126
end
126
127
end
Original file line number Diff line number Diff line change @@ -268,4 +268,4 @@ let match_raises ?here ?pos msg exnp f =
268
268
Fmt. pf ppf " %t%a %s: got %a." (pp_location ?here ?pos) Pp. tag `Fail
269
269
msg Fmt. exn e)
270
270
271
- let skip () = raise Core. Skip
271
+ let skip () = raise Core.V1. Skip
You can’t perform that action at this time.
0 commit comments