Mercurial > hg
diff tests/test-py3-commands.t @ 38027:1b8238f67bf2
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
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 16 May 2018 10:34:31 -0700 |
parents | 7fed389f9a9f |
children |
line wrap: on
line diff
--- 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" } ]