Lines Matching refs:text
55 my $text = $template->fill_in('package' => 'X');
56 is $text, $resultX;
59 $text = $template->fill_in('package' => 'Y');
60 is $text, $resultY;
63 $text = Text::Template->fill_this_in($template_1, 'package' => 'X');
64 is $text, $resultX;
73 $text = $template->fill_in('package' => 'X');
74 is $text, $resultX;
77 $text = $template->fill_in('package' => 'Y');
78 is $text, $resultY;
94 $text = $template->fill_in('package' => 'X');
95 is $text, $resultX;
98 $text = $template->fill_in('package' => 'Y');
99 is $text, $resultY;
106 $text = $tmpl->fill_in();
107 is $text, 'B}C{D';
116 $text = $tmpl->fill_in();
118 is $text, "A\tB";
142 my $text = $tmpl->fill_in;
144 ok(!defined $text && !defined $result || $text eq $result)
145 or diag "expected .$result. got .$text.";
157 $text = $template->fill_in('package' => 'X');
158 is $text, $resultX;
161 $text = $template->fill_in('package' => 'Y');
162 is $text, $resultY;
174 $text = Text::Template->new(
179 like $text, qr/division by zero at foo\.txt line 1/;