Mercurial > hg
comparison tests/test-fileset.t @ 38327:62376d7b8859
py3: glob out some error messages in test-fileset.t
Python3 provides more detailed messages, which is fine.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 16 Jun 2018 17:04:03 +0900 |
parents | 8783f128048e |
children | f9805627af1f |
comparison
equal
deleted
inserted
replaced
38326:8783f128048e | 38327:62376d7b8859 |
---|---|
66 b2 | 66 b2 |
67 $ fileset 'a* - a1' | 67 $ fileset 'a* - a1' |
68 a2 | 68 a2 |
69 $ fileset 'a_b' | 69 $ fileset 'a_b' |
70 $ fileset '"\xy"' | 70 $ fileset '"\xy"' |
71 hg: parse error: invalid \x escape | 71 hg: parse error: invalid \x escape* (glob) |
72 [255] | 72 [255] |
73 | 73 |
74 Test invalid syntax | 74 Test invalid syntax |
75 | 75 |
76 $ fileset -v '"added"()' | 76 $ fileset -v '"added"()' |
194 $ fileset 'grep("b{1}")' | 194 $ fileset 'grep("b{1}")' |
195 b2 | 195 b2 |
196 c1 | 196 c1 |
197 b1 | 197 b1 |
198 $ fileset 'grep("missingparens(")' | 198 $ fileset 'grep("missingparens(")' |
199 hg: parse error: invalid match pattern: unbalanced parenthesis | 199 hg: parse error: invalid match pattern: (unbalanced parenthesis|missing \)).* (re) |
200 [255] | 200 [255] |
201 | 201 |
202 #if execbit | 202 #if execbit |
203 $ chmod +x b2 | 203 $ chmod +x b2 |
204 $ fileset 'exec()' | 204 $ fileset 'exec()' |