mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Update littlecheck to 3d8a08bd164a96f53aef2a00a818e8778808e95a
No longer escaping quotes by moving the output around.
This commit is contained in:
parent
c192bf94b2
commit
36e8117206
1 changed files with 4 additions and 6 deletions
|
@ -96,8 +96,6 @@ def esc(m):
|
||||||
map = {
|
map = {
|
||||||
"\n": "\\n",
|
"\n": "\\n",
|
||||||
"\\": "\\\\",
|
"\\": "\\\\",
|
||||||
"'": "\\'",
|
|
||||||
'"': '\\"',
|
|
||||||
"\a": "\\a",
|
"\a": "\\a",
|
||||||
"\b": "\\b",
|
"\b": "\\b",
|
||||||
"\f": "\\f",
|
"\f": "\\f",
|
||||||
|
@ -304,11 +302,11 @@ class TestFailure(object):
|
||||||
)
|
)
|
||||||
if b:
|
if b:
|
||||||
bstr = (
|
bstr = (
|
||||||
"'{BLUE}"
|
"on line "
|
||||||
+ b.line.escaped_text(for_formatting=True)
|
|
||||||
+ "{RESET}'"
|
|
||||||
+ " on line "
|
|
||||||
+ str(b.line.number)
|
+ str(b.line.number)
|
||||||
|
+ ": {BLUE}"
|
||||||
|
+ b.line.escaped_text(for_formatting=True)
|
||||||
|
+ "{RESET}"
|
||||||
)
|
)
|
||||||
lastcheckline = b.line.number
|
lastcheckline = b.line.number
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue