Skip to content

Commit

Permalink
fixup! Adjust tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Leonidas-from-XIV committed Mar 2, 2022
1 parent a171997 commit 36460c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_write.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 36460c8

Please sign in to comment.