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:
parent
3efacdbacf
commit
2055ee92e7
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue