Mercurial > hg
comparison tests/test-i18n.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 | 5abc47d4ca6b |
children | 8939062597f0 |
comparison
equal
deleted
inserted
replaced
45905:e131dbf6ee15 | 45906:95c4cca641f6 |
---|---|
6 | 6 |
7 Default encoding in tests is "ascii" and the translation is encoded | 7 Default encoding in tests is "ascii" and the translation is encoded |
8 using the "replace" error handler: | 8 using the "replace" error handler: |
9 | 9 |
10 $ LANGUAGE=pt_BR hg tip | 10 $ LANGUAGE=pt_BR hg tip |
11 abortado: n?o foi encontrado um reposit?rio em '$TESTTMP' (.hg n?o encontrado)! | 11 abortado: n?o foi encontrado um reposit?rio em '$TESTTMP' (.hg n?o encontrado) |
12 [255] | 12 [255] |
13 | 13 |
14 Using a more accommodating encoding: | 14 Using a more accommodating encoding: |
15 | 15 |
16 $ HGENCODING=UTF-8 LANGUAGE=pt_BR hg tip | 16 $ HGENCODING=UTF-8 LANGUAGE=pt_BR hg tip |
17 abortado: n\xc3\xa3o foi encontrado um reposit\xc3\xb3rio em '$TESTTMP' (.hg n\xc3\xa3o encontrado)! (esc) | 17 abortado: n\xc3\xa3o foi encontrado um reposit\xc3\xb3rio em '$TESTTMP' (.hg n\xc3\xa3o encontrado) (esc) |
18 [255] | 18 [255] |
19 | 19 |
20 Different encoding: | 20 Different encoding: |
21 | 21 |
22 $ HGENCODING=Latin-1 LANGUAGE=pt_BR hg tip | 22 $ HGENCODING=Latin-1 LANGUAGE=pt_BR hg tip |
23 abortado: n\xe3o foi encontrado um reposit\xf3rio em '$TESTTMP' (.hg n\xe3o encontrado)! (esc) | 23 abortado: n\xe3o foi encontrado um reposit\xf3rio em '$TESTTMP' (.hg n\xe3o encontrado) (esc) |
24 [255] | 24 [255] |
25 | 25 |
26 #endif | 26 #endif |
27 | 27 |
28 #if gettext | 28 #if gettext |