Mercurial > public > mercurial-scm > hg
diff tests/test-command-template.t @ 25003:5e584edbb211
templater: update error message of invalid number passed to word() function
"word(3, desc)" is valid now.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 02 May 2015 15:49:38 +0900 |
parents | 829faf8ab605 |
children | 5ddbb024c2e9 |
line wrap: on
line diff
--- a/tests/test-command-template.t Fri May 01 20:43:55 2015 +0900 +++ b/tests/test-command-template.t Sat May 02 15:49:38 2015 +0900 @@ -2778,5 +2778,5 @@ Test word for invalid numbers $ hg log -Gv -R a --template "{word('a', desc)}" - hg: parse error: Use strings like '3' for numbers passed to word function + hg: parse error: word expects an integer index [255]