--- /dev/null
+ # do not outdent ending ) more than initial qw line
+ if ( $pos == 0 ) {
+ @return = grep( /^$word/,
+ sort qw(
+ ! a b d h i m o q r u autobundle clean
+ make test install force reload look
+ ) );
+ }
+
+ # outdent ')' even if opening is not '('
+ @EXPORT = (
+ qw)
+ i Re Im rho theta arg
+ sqrt log ln
+ log10 logn cbrt root
+ cplx cplxe
+ ),
+ @trig
+ );
+
+ # outdent '>' like ')'
+ @EXPORT = (
+ qw<
+ i Re Im rho theta arg
+ sqrt log ln
+ log10 logn cbrt root
+ cplx cplxe
+ >,
+ @trig
+ );
+
+ # but ';' not outdented
+ @EXPORT = (
+ qw;
+ i Re Im rho theta arg
+ sqrt log ln
+ log10 logn cbrt root
+ cplx cplxe
+ ;,
+ @trig
+ );
--- /dev/null
+ # do not outdent ending ) more than initial qw line
+ if ( $pos == 0 ) {
+ @return = grep( /^$word/,
+ sort qw(
+ ! a b d h i m o q r u autobundle clean
+ make test install force reload look
+ ) );
+ }
+
+ # outdent ')' even if opening is not '('
+ @EXPORT = (
+ qw)
+ i Re Im rho theta arg
+ sqrt log ln
+ log10 logn cbrt root
+ cplx cplxe
+ ),
+ @trig
+ );
+
+ # outdent '>' like ')'
+ @EXPORT = (
+ qw<
+ i Re Im rho theta arg
+ sqrt log ln
+ log10 logn cbrt root
+ cplx cplxe
+ >,
+ @trig
+ );
+
+ # but ';' not outdented
+ @EXPORT = (
+ qw;
+ i Re Im rho theta arg
+ sqrt log ln
+ log10 logn cbrt root
+ cplx cplxe
+ ;,
+ @trig
+ );
#16 align34.def
#17 git47.def
#18 git47.git47
+#19 qw.def
# To locate test #13 you can search for its name or the string '#13'
map { [ $_, rand ] } @list;
----------
+ 'qw' => <<'----------',
+ # do not outdent ending ) more than initial qw line
+ if ( $pos == 0 ) {
+ @return = grep( /^$word/,
+ sort qw(
+ ! a b d h i m o q r u autobundle clean
+ make test install force reload look
+ ) );
+ }
+
+ # outdent ')' even if opening is not '('
+ @EXPORT = (
+ qw)
+ i Re Im rho theta arg
+ sqrt log ln
+ log10 logn cbrt root
+ cplx cplxe
+ ),
+ @trig
+ );
+
+ # outdent '>' like ')'
+ @EXPORT = (
+ qw<
+ i Re Im rho theta arg
+ sqrt log ln
+ log10 logn cbrt root
+ cplx cplxe
+ >,
+ @trig
+ );
+
+ # but ';' not outdented
+ @EXPORT = (
+ qw;
+ i Re Im rho theta arg
+ sqrt log ln
+ log10 logn cbrt root
+ cplx cplxe
+ ;,
+ @trig
+ );
+----------
+
'sbcp' => <<'----------',
@month_of_year = (
'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct',
});
#18...........
},
+
+ 'qw.def' => {
+ source => "qw",
+ params => "def",
+ expect => <<'#19...........',
+ # do not outdent ending ) more than initial qw line
+ if ( $pos == 0 ) {
+ @return = grep( /^$word/,
+ sort qw(
+ ! a b d h i m o q r u autobundle clean
+ make test install force reload look
+ ) );
+ }
+
+ # outdent ')' even if opening is not '('
+ @EXPORT = (
+ qw)
+ i Re Im rho theta arg
+ sqrt log ln
+ log10 logn cbrt root
+ cplx cplxe
+ ),
+ @trig
+ );
+
+ # outdent '>' like ')'
+ @EXPORT = (
+ qw<
+ i Re Im rho theta arg
+ sqrt log ln
+ log10 logn cbrt root
+ cplx cplxe
+ >,
+ @trig
+ );
+
+ # but ';' not outdented
+ @EXPORT = (
+ qw;
+ i Re Im rho theta arg
+ sqrt log ln
+ log10 logn cbrt root
+ cplx cplxe
+ ;,
+ @trig
+ );
+#19...........
+ },
};
my $ntests = 0 + keys %{$rtests};