about summary refs log tree commit diff
path: root/Test/D01prompt.ztst
diff options
context:
space:
mode:
authorOliver Kiddle <opk@zsh.org>2023-02-09 00:10:19 +0100
committerOliver Kiddle <opk@zsh.org>2023-02-09 00:10:19 +0100
commit6502d05897a7d9441fcabfd24f203cffe4da59aa (patch)
tree2d22e60ca6103d359476f61abd092699ff633831 /Test/D01prompt.ztst
parentd6b027c3c1203da5f3c6451bd6e2e0b81bd766b6 (diff)
downloadzsh-6502d05897a7d9441fcabfd24f203cffe4da59aa.tar.gz
zsh-6502d05897a7d9441fcabfd24f203cffe4da59aa.tar.xz
zsh-6502d05897a7d9441fcabfd24f203cffe4da59aa.zip
51320, 51383: fixes to prevent later reappearance of old attributes
Also associated test updates and a test fix for TERM=dumb.
Diffstat (limited to 'Test/D01prompt.ztst')
-rw-r--r--Test/D01prompt.ztst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/D01prompt.ztst b/Test/D01prompt.ztst
index a0abb7e1d..55861cca1 100644
--- a/Test/D01prompt.ztst
+++ b/Test/D01prompt.ztst
@@ -261,7 +261,7 @@
   A1=${(%):-%s}
   A2=${(%):-%u}
   A3=${(%):-%s%u%s}
-  [[ $A3 = $A1$A2 && -n $A1 && -n $A2 ]]
+  [[ $A3 = $A1$A2 ]]
 0:Attribute optimisation - preserve initial disabling of attribute but drop useless later one
 
   : ${(%):-%K{blue}}