diff --git a/testsuite/local.mk b/testsuite/local.mk index ad3fba9..78e64b9 100644 --- a/testsuite/local.mk +++ b/testsuite/local.mk @@ -117,7 +117,7 @@ SEDTESTS += testsuite/appquit testsuite/enable testsuite/sep \ testsuite/recall testsuite/recall2 testsuite/xemacs \ testsuite/fasts testsuite/uniq testsuite/manis \ testsuite/khadafy testsuite/linecnt testsuite/eval \ - testsuite/distrib testsuite/8to7 testsuite/y-bracket \ + testsuite/distrib testsuite/8to7 \ testsuite/y-newline testsuite/y-zero testsuite/allsub \ testsuite/cv-vars testsuite/classes testsuite/middle \ testsuite/bsd testsuite/stdin testsuite/flipcase \ @@ -357,9 +357,6 @@ EXTRA_DIST += \ testsuite/xemacs.good \ testsuite/xemacs.inp \ testsuite/xemacs.sed \ - testsuite/y-bracket.good \ - testsuite/y-bracket.sed \ - testsuite/y-bracket.inp \ testsuite/y-zero.good \ testsuite/y-zero.sed \ testsuite/y-zero.inp \ diff --git a/testsuite/misc.pl b/testsuite/misc.pl index 5ea171a..622a5d5 100644 --- a/testsuite/misc.pl +++ b/testsuite/misc.pl @@ -51,6 +51,12 @@ my @Tests = {IN=> "a\nb" }, {OUT=>"ax\nbx" }, ], + + ['y-bracket', q('y/[/ /'), + {IN => "Are you sure (y/n)? [y]\n" }, + {OUT=> "Are you sure (y/n)? y]\n" }, + ], + ); my $save_temps = $ENV{SAVE_TEMPS}; diff --git a/testsuite/y-bracket.good b/testsuite/y-bracket.good deleted file mode 100644 index 7e1a0ac..0000000 --- a/testsuite/y-bracket.good +++ /dev/null @@ -1 +0,0 @@ -Are you sure (y/n)? y] diff --git a/testsuite/y-bracket.inp b/testsuite/y-bracket.inp deleted file mode 100644 index 131c38c..0000000 --- a/testsuite/y-bracket.inp +++ /dev/null @@ -1 +0,0 @@ -Are you sure (y/n)? [y] diff --git a/testsuite/y-bracket.sed b/testsuite/y-bracket.sed deleted file mode 100644 index 79f3b61..0000000 --- a/testsuite/y-bracket.sed +++ /dev/null @@ -1 +0,0 @@ -y/[/ /