Skip to content

Commit

Permalink
build: fix failing snapshot verification (2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Elijas committed Dec 15, 2023
1 parent 86e0c65 commit 4055d02
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/snapshot/_overwrite_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,12 @@ def overwrite_with_change_track(
created_file = True

with json_file.open("w") as f:
json.dump(dict_items, f, indent=4)
json.dump(
dict_items,
f,
indent=4,
ensure_ascii=False,
sort_keys=True,
)

return OverwriteResult(removed_lines, added_lines, created_file)

0 comments on commit 4055d02

Please sign in to comment.