diff tests/test-hook.t @ 41420:b6673e9bdcf6

dispatch: quote filename in IOError as well It's explicitly added for OSError at 720308f741cb "dispatch: show empty filename in OSError aborts". Let's do the same for IOError.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 26 Jan 2019 17:51:55 +0900
parents 89ba51c3e4f1
children f8443db3032e
line wrap: on
line diff
--- a/tests/test-hook.t	Sat Jan 26 17:44:07 2019 +0900
+++ b/tests/test-hook.t	Sat Jan 26 17:51:55 2019 +0900
@@ -690,7 +690,7 @@
 
   $ hg up null
   loading update.ne hook failed:
-  abort: $ENOENT$: $TESTTMP/d/repo/nonexistent.py
+  abort: $ENOENT$: '$TESTTMP/d/repo/nonexistent.py'
   [255]
 
   $ hg id