Mercurial > hg
diff tests/test-wireproto-command-lookup.t @ 37724:deff7cf7eefd
wireprotov2: change frame type and name for command response
There was hole at frame type value 3. And the frame is better
named as a command response.
Differential Revision: https://phab.mercurial-scm.org/D3384
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Sat, 14 Apr 2018 14:37:23 -0700 |
parents | 89a16704114c |
children | 3ea8323d6f95 |
line wrap: on
line diff
--- a/tests/test-wireproto-command-lookup.t Sat Apr 14 12:11:24 2018 -0700 +++ b/tests/test-wireproto-command-lookup.t Sat Apr 14 14:37:23 2018 -0700 @@ -44,10 +44,10 @@ s> Transfer-Encoding: chunked\r\n s> \r\n s> 1d\r\n - s> \x15\x00\x00\x01\x00\x02\x01B + s> \x15\x00\x00\x01\x00\x02\x012 s> TBk\xad\xa5\xc6u\x98\xcae\x03mW\xd9\xe4\xb6K\x0c\x1c\xe7\xa0 s> \r\n - received frame(size=21; request=1; stream=2; streamflags=stream-begin; type=bytes-response; flags=eos) + received frame(size=21; request=1; stream=2; streamflags=stream-begin; type=command-response; flags=eos) s> 0\r\n s> \r\n response: b'Bk\xad\xa5\xc6u\x98\xcae\x03mW\xd9\xe4\xb6K\x0c\x1c\xe7\xa0'