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
|
@ -1,3 +1,7 @@
|
||||||
|
2019-03-01 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
|
||||||
|
|
||||||
|
* unposted: Test/ztst.zsh: fix a typo
|
||||||
|
|
||||||
2019-02-27 dana <dana@dana.is>
|
2019-02-27 dana <dana@dana.is>
|
||||||
|
|
||||||
* 44087: Completion/Unix/Command/_getconf: Complete options,
|
* 44087: Completion/Unix/Command/_getconf: Complete options,
|
||||||
|
|
|
@ -322,7 +322,7 @@ ZTST_diff() {
|
||||||
diff_lines2=("${(f@)$(<$argv[-1])}")
|
diff_lines2=("${(f@)$(<$argv[-1])}")
|
||||||
if (( ${#diff_lines1} != ${#diff_lines2} )); then
|
if (( ${#diff_lines1} != ${#diff_lines2} )); then
|
||||||
failed=1
|
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
|
else
|
||||||
for (( i = 1; i <= ${#diff_lines1}; i++ )); do
|
for (( i = 1; i <= ${#diff_lines1}; i++ )); do
|
||||||
if [[ ${diff_lines2[i]} != ${~diff_lines1[i]} ]]; then
|
if [[ ${diff_lines2[i]} != ${~diff_lines1[i]} ]]; then
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue