Mercurial > public > mercurial-scm > hg
diff tests/test-lfs-test-server.t @ 45906:95c4cca641f6
errors: remove trailing "!" from some error messages for consistency
Some types of exceptions had a trailing "!" printed after the message
from the exception itself. I guess some of these errors seem a little
more severe (?), but it seems more likely that the inconsistency was
just an oversight.
Differential Revision: https://phab.mercurial-scm.org/D9378
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 23 Nov 2020 11:18:48 -0800 |
parents | edc8504bc26b |
children | 17a695357270 |
line wrap: on
line diff
--- a/tests/test-lfs-test-server.t Mon Nov 23 12:20:19 2020 +0100 +++ b/tests/test-lfs-test-server.t Mon Nov 23 11:18:48 2020 -0800 @@ -459,7 +459,7 @@ Content-Type: text/plain; charset=utf-8 (git-server !) Date: $HTTP_DATE$ (git-server !) abort: corrupt remote lfs object: d11e1a642b60813aee592094109b406089b8dff4cb157157f753418ec7857998 (git-server !) - abort: LFS server error for "c": Validation error! (hg-server !) + abort: LFS server error for "c": Validation error (hg-server !) [255] The corrupted blob is not added to the usercache or local store @@ -826,7 +826,7 @@ ] "transfer": "basic" (hg-server !) } - abort: LFS server error for "b": The object does not exist! + abort: LFS server error for "b": The object does not exist [255] Check error message when object does not exist: @@ -937,7 +937,7 @@ ] "transfer": "basic" (hg-server !) } - abort: LFS server error for "a": The object does not exist! + abort: LFS server error for "a": The object does not exist [255] $ "$PYTHON" $RUNTESTDIR/killdaemons.py $DAEMON_PIDS