# HG changeset patch # User Martin von Zweigbergk # Date 1526492071 25200 # Node ID 1b8238f67bf252f3a7bc4d2d858c80bdc46c8b61 # Parent ca890999d3175a4b8af6e64094be8965a3a9d856 tests: update py3 test since json fields are now sorted The fields have been sorted since 814151cd8c4a (logcmdutil: rewrite jsonchangeset printer to be backed by jsonformatter, 2018-04-13), and the test case has thus been failing since that commit. Differential Revision: https://phab.mercurial-scm.org/D3570 diff -r ca890999d317 -r 1b8238f67bf2 tests/test-py3-commands.t --- a/tests/test-py3-commands.t Wed May 16 15:48:12 2018 -0700 +++ b/tests/test-py3-commands.t Wed May 16 10:34:31 2018 -0700 @@ -198,28 +198,28 @@ $ $PYTHON3 $HGBIN log -Tjson [ { - "rev": 1, - "node": "e1e9167203d450ca2f558af628955b5f5afd4489", + "bookmarks": [], "branch": "default", - "phase": "draft", - "user": "test", "date": [0, 0], "desc": "message", - "bookmarks": [], + "node": "e1e9167203d450ca2f558af628955b5f5afd4489", + "parents": ["71c96e924262969ff0d8d3d695b0f75412ccc3d8"], + "phase": "draft", + "rev": 1, "tags": ["tip"], - "parents": ["71c96e924262969ff0d8d3d695b0f75412ccc3d8"] + "user": "test" }, { - "rev": 0, - "node": "71c96e924262969ff0d8d3d695b0f75412ccc3d8", + "bookmarks": [], "branch": "default", - "phase": "draft", - "user": "test", "date": [0, 0], "desc": "commit performed in Python 3", - "bookmarks": [], + "node": "71c96e924262969ff0d8d3d695b0f75412ccc3d8", + "parents": ["0000000000000000000000000000000000000000"], + "phase": "draft", + "rev": 0, "tags": [], - "parents": ["0000000000000000000000000000000000000000"] + "user": "test" } ]