comparison tests/test-commit-amend.t @ 24811:a2dcf460e141 stable

run-tests: don't error when glob matched line ends with backslash As part of writing another test, I triggered an array index error in glob match processing code by having a (glob) line end in a single backslash (which is the escape character). Adding a simple bounds check prevents the error in run-tests.py.
author Gregory Szorc <gregory.szorc@gmail.com>
date Fri, 17 Apr 2015 14:12:01 -0700
parents f903689680e6
children 1ef96a3b8b89 ed18f4acf435
comparison
equal deleted inserted replaced
24810:f5416657e661 24811:a2dcf460e141