comparison 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
comparison
equal deleted inserted replaced
38026:ca890999d317 38027:1b8238f67bf2
196 summary: commit performed in Python 3 196 summary: commit performed in Python 3
197 197
198 $ $PYTHON3 $HGBIN log -Tjson 198 $ $PYTHON3 $HGBIN log -Tjson
199 [ 199 [
200 { 200 {
201 "rev": 1, 201 "bookmarks": [],
202 "node": "e1e9167203d450ca2f558af628955b5f5afd4489",
203 "branch": "default", 202 "branch": "default",
204 "phase": "draft",
205 "user": "test",
206 "date": [0, 0], 203 "date": [0, 0],
207 "desc": "message", 204 "desc": "message",
208 "bookmarks": [], 205 "node": "e1e9167203d450ca2f558af628955b5f5afd4489",
206 "parents": ["71c96e924262969ff0d8d3d695b0f75412ccc3d8"],
207 "phase": "draft",
208 "rev": 1,
209 "tags": ["tip"], 209 "tags": ["tip"],
210 "parents": ["71c96e924262969ff0d8d3d695b0f75412ccc3d8"] 210 "user": "test"
211 }, 211 },
212 { 212 {
213 "rev": 0, 213 "bookmarks": [],
214 "node": "71c96e924262969ff0d8d3d695b0f75412ccc3d8",
215 "branch": "default", 214 "branch": "default",
216 "phase": "draft",
217 "user": "test",
218 "date": [0, 0], 215 "date": [0, 0],
219 "desc": "commit performed in Python 3", 216 "desc": "commit performed in Python 3",
220 "bookmarks": [], 217 "node": "71c96e924262969ff0d8d3d695b0f75412ccc3d8",
218 "parents": ["0000000000000000000000000000000000000000"],
219 "phase": "draft",
220 "rev": 0,
221 "tags": [], 221 "tags": [],
222 "parents": ["0000000000000000000000000000000000000000"] 222 "user": "test"
223 } 223 }
224 ] 224 ]
225 225
226 Show that update works now! 226 Show that update works now!
227 227