1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 04:30:24 +02:00

unposted: ztst.zsh: fix a typo

This commit is contained in:
Jun-ichi Takimoto 2019-03-01 14:57:55 +09:00
parent 3efacdbacf
commit 2055ee92e7
2 changed files with 5 additions and 1 deletions

View file

@ -322,7 +322,7 @@ ZTST_diff() {
diff_lines2=("${(f@)$(<$argv[-1])}")
if (( ${#diff_lines1} != ${#diff_lines2} )); then
failed=1
print -r "Pattern match filead, line mismatch (${#diff_lines1}/${#diff_lines2}):"
print -r "Pattern match failed, line mismatch (${#diff_lines1}/${#diff_lines2}):"
else
for (( i = 1; i <= ${#diff_lines1}; i++ )); do
if [[ ${diff_lines2[i]} != ${~diff_lines1[i]} ]]; then