about summary refs log tree commit diff
path: root/Test/10prompt.ztst
diff options
context:
space:
mode:
Diffstat (limited to 'Test/10prompt.ztst')
-rw-r--r--Test/10prompt.ztst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Test/10prompt.ztst b/Test/10prompt.ztst
index 08bf8f6a9..91be7fcfc 100644
--- a/Test/10prompt.ztst
+++ b/Test/10prompt.ztst
@@ -93,7 +93,7 @@
   if [[ $date3 != [0-9][0-9]-[0-9][0-9]-[0-9][0-9] ]]; then
     print "Date \`$date3' is not in the form \`YY-MM-DD'"
   fi
-  if (( $date1[5,-1] != $date2[4,5] )) || (( $date2[4,5] != $date3[8,9] ))
+  if (( $date1[5,-1] != $date2[4,5] )) || (( $date2[4,5] != $date3[7,8] ))
   then
     print "Days of month do not agree in $date1, $date2, $date3"
   fi