From 36460c8b72dc2c625fff08a2955305d011ea405e Mon Sep 17 00:00:00 2001 From: Marek Kubica Date: Wed, 2 Mar 2022 14:24:54 +0100 Subject: [PATCH] fixup! Adjust tests --- test/test_write.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_write.ml b/test/test_write.ml index 74b99975..46287f55 100644 --- a/test/test_write.ml +++ b/test/test_write.ml @@ -9,8 +9,8 @@ let to_file_tests = Yojson.Safe.to_file output_file Fixtures.json_value; Fixtures.json_string_newline | Some newline -> - let sep = match newline with true -> "\n" | false -> "" in - Yojson.Safe.to_file ~sep output_file Fixtures.json_value; + let suf = match newline with true -> "\n" | false -> "" in + Yojson.Safe.to_file ~suf output_file Fixtures.json_value; if newline then Fixtures.json_string_newline else