From b3fb440f483a8a4163edaa00c60038c6536eaa89 Mon Sep 17 00:00:00 2001 From: Valentin Chaboche Date: Mon, 22 Nov 2021 16:21:52 +0100 Subject: [PATCH] lib_mockup: upgrade qcheck to qcheck2 --- src/lib_mockup/test/test_fuzzing_mockup_args.ml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib_mockup/test/test_fuzzing_mockup_args.ml b/src/lib_mockup/test/test_fuzzing_mockup_args.ml index 400a260ec770..bd4f8c27e59d 100644 --- a/src/lib_mockup/test/test_fuzzing_mockup_args.ml +++ b/src/lib_mockup/test/test_fuzzing_mockup_args.ml @@ -31,9 +31,9 @@ *) open Tezos_mockup_registration.Mockup_args -open Lib_test.Qcheck_helpers +open Lib_test.Qcheck2_helpers -let chain_id_arb = QCheck.(map Chain_id.of_string string) +let chain_id_gen = QCheck2.Gen.(map Chain_id.of_string string) (** {!val:Chain_id.choose} always prioritizes the config file over the default value *) let test_config_file_has_priority_over_default_value from_config_file_val = @@ -43,11 +43,11 @@ let test_config_file_has_priority_over_default_value from_config_file_val = qcheck_eq' ~pp ~expected ~actual () let test_prioritize_config_file = - QCheck.Test.make + QCheck2.Test.make ~name: "Chain_id.choose always prioritizes the config file over the default \ value" - chain_id_arb + chain_id_gen test_config_file_has_priority_over_default_value let () = -- GitLab