--- /dev/null
+$self->{_text} = (
+ !$section ? ''
+ : $type eq 'item' ? "the $section entry"
+ : "the section on $section"
+ )
+ . (
+ $page
+ ? ( $section ? ' in ' : '' ) . "the $page$page_ext manpage"
+ : ' elsewhere in this document'
+ );
+
+my $otherHashRef =
+ $condition
+ ? {
+ 'a' => 'a value',
+ 'b' => 'b value',
+ 'c' => {
+ 'd' => 'd value',
+ 'e' => 'e value'
+ }
+ }
+ : undef;
../snippets22.t bbhb.def
../snippets22.t bbhb.bbhb4
../snippets22.t bbhb.bbhb5
+../snippets22.t braces.braces7
../snippets3.t ce_wn1.ce_wn
../snippets3.t ce_wn1.def
../snippets3.t colin.colin
../snippets9.t rt98902.def
../snippets9.t rt98902.rt98902
../snippets9.t rt99961.def
-../snippets22.t braces.braces7
+../snippets22.t xci.def
+../snippets22.t xci.xci1
+../snippets22.t xci.xci2
--- /dev/null
+$self->{_text} = (
+ !$section ? ''
+ : $type eq 'item' ? "the $section entry"
+ : "the section on $section"
+ )
+ . (
+ $page
+ ? ( $section ? ' in ' : '' ) . "the $page$page_ext manpage"
+ : ' elsewhere in this document'
+ );
+
+my $otherHashRef =
+ $condition
+ ? {
+ 'a' => 'a value',
+ 'b' => 'b value',
+ 'c' => {
+ 'd' => 'd value',
+ 'e' => 'e value'
+ }
+ }
+ : undef;
#5 bbhb.bbhb4
#6 bbhb.bbhb5
#7 braces.braces7
+#8 xci.def
+#9 xci.xci1
+#10 xci.xci2
# To locate test #13 you can search for its name or the string '#13'
----------
'def' => "",
'here_long' => "-l=33",
+ 'xci1' => "-xci",
+ 'xci2' => "-pbp -nst -nse -xci",
};
############################
FROM logins WHERE username='$user'
END_OF_SELECT
+----------
+
+ 'xci' => <<'----------',
+$self->{_text} = (
+ !$section ? ''
+ : $type eq 'item' ? "the $section entry"
+ : "the section on $section"
+ )
+ . (
+ $page
+ ? ( $section ? ' in ' : '' ) . "the $page$page_ext manpage"
+ : ' elsewhere in this document'
+ );
+
+my $otherHashRef =
+ $condition
+ ? {
+ 'a' => 'a value',
+ 'b' => 'b value',
+ 'c' => {
+ 'd' => 'd value',
+ 'e' => 'e value'
+ }
+ }
+ : undef;
----------
};
};
#7...........
},
+
+ 'xci.def' => {
+ source => "xci",
+ params => "def",
+ expect => <<'#8...........',
+$self->{_text} = (
+ !$section ? ''
+ : $type eq 'item' ? "the $section entry"
+ : "the section on $section"
+ )
+ . (
+ $page
+ ? ( $section ? ' in ' : '' ) . "the $page$page_ext manpage"
+ : ' elsewhere in this document'
+ );
+
+my $otherHashRef =
+ $condition
+ ? {
+ 'a' => 'a value',
+ 'b' => 'b value',
+ 'c' => {
+ 'd' => 'd value',
+ 'e' => 'e value'
+ }
+ }
+ : undef;
+#8...........
+ },
+
+ 'xci.xci1' => {
+ source => "xci",
+ params => "xci1",
+ expect => <<'#9...........',
+$self->{_text} = (
+ !$section ? ''
+ : $type eq 'item' ? "the $section entry"
+ : "the section on $section"
+ )
+ . (
+ $page
+ ? ( $section ? ' in ' : '' ) . "the $page$page_ext manpage"
+ : ' elsewhere in this document'
+ );
+
+my $otherHashRef =
+ $condition
+ ? {
+ 'a' => 'a value',
+ 'b' => 'b value',
+ 'c' => {
+ 'd' => 'd value',
+ 'e' => 'e value'
+ }
+ }
+ : undef;
+#9...........
+ },
+
+ 'xci.xci2' => {
+ source => "xci",
+ params => "xci2",
+ expect => <<'#10...........',
+$self->{_text} = (
+ !$section ? ''
+ : $type eq 'item' ? "the $section entry"
+ : "the section on $section"
+ )
+ . ( $page
+ ? ( $section ? ' in ' : '' ) . "the $page$page_ext manpage"
+ : ' elsewhere in this document'
+ );
+
+my $otherHashRef
+ = $condition
+ ? { 'a' => 'a value',
+ 'b' => 'b value',
+ 'c' => {
+ 'd' => 'd value',
+ 'e' => 'e value'
+ }
+ }
+ : undef;
+#10...........
+ },
};
my $ntests = 0 + keys %{$rtests};