Skip to content

Commit

Permalink
v0.15~preview.125.03+403
Browse files Browse the repository at this point in the history
  • Loading branch information
aalekseyev committed Aug 27, 2021
1 parent 19b4061 commit 7c6c577
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion ppx_quickcheck/test/src/test_ppx_quickcheck.ml
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ module Simple_higher_order = Simple_higher_order
module Named_higher_order = Named_higher_order
module Optional_higher_order = Optional_higher_order

let%expect_test ("higher order arrow type"[@tags "64-bits-only"]) =
let%expect_test ("higher order arrow type" [@tags "64-bits-only"]) =
let config = { Test.default_config with test_count = 100 } in
let test m = test ~config ~shrinker:`atomic m in
test
Expand Down
4 changes: 1 addition & 3 deletions ppx_quickcheck/test/toplevel/errors.mlt
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,7 @@ Error: ppx_quickcheck: unsupported: uknown extension: arbitrary.tag
let _ =
[%quickcheck.observer:
[%custom
;;
1
;;
1;;
2]]
;;

Expand Down
8 changes: 4 additions & 4 deletions test/src/test_generator.ml
Original file line number Diff line number Diff line change
Expand Up @@ -435,14 +435,14 @@ let%expect_test "small_strictly_positive_int" =

let int = Generator.int

let%expect_test ("int"[@tags "64-bits-only"]) =
let%expect_test ("int" [@tags "64-bits-only"]) =
test_generator Generator.int (m_int (module Int));
[%expect {| (generator "generated 8_006 distinct values in 10_000 iterations") |}]
;;

let int_uniform = Generator.int_uniform

let%expect_test ("int_uniform"[@tags "64-bits-only"]) =
let%expect_test ("int_uniform" [@tags "64-bits-only"]) =
test_generator ~mode:`inexhaustive Generator.int_uniform (m_int (module Int));
[%expect
{|
Expand Down Expand Up @@ -870,14 +870,14 @@ let%expect_test "int64_log_uniform_inclusive" =

let nativeint = Generator.nativeint

let%expect_test ("nativeint"[@tags "64-bits-only"]) =
let%expect_test ("nativeint" [@tags "64-bits-only"]) =
test_generator Generator.nativeint (m_int (module Nativeint));
[%expect {| (generator "generated 8_047 distinct values in 10_000 iterations") |}]
;;

let nativeint_uniform = Generator.nativeint_uniform

let%expect_test ("nativeint_uniform"[@tags "64-bits-only"]) =
let%expect_test ("nativeint_uniform" [@tags "64-bits-only"]) =
test_generator
~mode:`inexhaustive
Generator.nativeint_uniform
Expand Down
4 changes: 2 additions & 2 deletions test/src/test_observer.ml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ type 'a t = 'a Observer.t
let create = Observer.create
let observe = Observer.observe

let%expect_test ("observe & create"[@tags "64-bits-only"]) =
let%expect_test ("observe & create" [@tags "64-bits-only"]) =
let obs =
Observer.create (fun x ~size ~hash ->
hash_fold_int
Expand Down Expand Up @@ -140,7 +140,7 @@ let%expect_test "int" =

let int32 = Observer.int32

let%expect_test ("int32"[@tags "64-bits-only"]) =
let%expect_test ("int32" [@tags "64-bits-only"]) =
test_observer Observer.int32 (m_int (module Int32));
[%expect {| (observer transparent) |}]
;;
Expand Down

0 comments on commit 7c6c577

Please sign in to comment.