aboutsummaryrefslogtreecommitdiffstats
path: root/test/Helpers.ml
diff options
context:
space:
mode:
authorMarcos Magueta <maguetamarcos@gmail.com>2026-08-02 23:37:51 -0300
committerEstevan Castilho <tevo@riajuu.net>2026-08-23 03:06:53 +0000
commit8d59f43f445164e8cc8bd3fe1a23bd04e807a6b3 (patch)
tree6a673397f921070d8a86d026380548d5e251a29f /test/Helpers.ml
parentb762cb41da4d822416c3ab66940622882745fc0a (diff)
downloadRNT-8d59f43f445164e8cc8bd3fe1a23bd04e807a6b3.tar.gz
RNT-8d59f43f445164e8cc8bd3fe1a23bd04e807a6b3.zip
format
Diffstat (limited to 'test/Helpers.ml')
-rw-r--r--test/Helpers.ml12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/Helpers.ml b/test/Helpers.ml
index 784170c..aa24160 100644
--- a/test/Helpers.ml
+++ b/test/Helpers.ml
@@ -33,12 +33,12 @@ module Storage = struct
module Make (S : Abstract.Storage.STORAGE) (C : CONFIGURATOR) = struct
let with_connection f dir () =
with_temporary_directory dir begin fun dir ->
- begin
- let open Utilities.Result in
- let* conn = S.connect (C.configure dir) in
- Ok (f conn)
- end
- |> condition_as_failure
+ begin
+ let open Utilities.Result in
+ let* conn = S.connect (C.configure dir) in
+ Ok (f conn)
+ end
+ |> condition_as_failure
end
end
end