aboutsummaryrefslogtreecommitdiff
path: root/vim/syntax/notmuch-git-diff.vim
diff options
context:
space:
mode:
authorVladimir Panteleev <notmuch@thecybershadow.net>2017-08-16 16:31:27 +0000
committerDavid Bremner <david@tethera.net>2017-08-23 08:07:45 -0300
commit8c772eaa0dfe227d998e5d5f7b97bd514f3eae3c (patch)
tree415f88d3dff51356e74e5d21144717cb7f7f889f /vim/syntax/notmuch-git-diff.vim
parenteb232ee0aba8f031fe4f0cb509682a321d85e06e (diff)
test: Use small Python script for JSON normalization instead of json.tool
json.tool does not sort or otherwise normalize the order of JSON keys in its output, which can result in test failures on some test systems. Instead, use a one-line Python script passed to the interpreter directly on its command line. Use sort_keys=True for json.dump to ensure the key order is normalized. The script works with both Python 2 and 3. * test/test-lib.sh: Update test_expect_equal_json.
Diffstat (limited to 'vim/syntax/notmuch-git-diff.vim')
0 files changed, 0 insertions, 0 deletions