Lines Matching refs:out
30 my $out = tie *STDOUT, 'FakeOut';
37 like( $$out, qr/fro\a/, 'found bell character' );
40 is( $out->scrub(), 1, '(single) bell removed');
43 like( $$out, qr/$data/, 'all three words possible' );
44 $out->clear();
49 $out->scrub();
50 is( $$out, get_expected('frob', 'frobnitz', 'frobozz'), 'expected frob*' );
51 $out->clear();
56 $out->scrub();
57 is( $$out, get_expected( 'frobo', 'frobozz' ), 'only frobozz possible' );
58 $out->clear();
64 $out->scrub();
65 like( $$out, qr/prompt:frobn/, 'prompt is okay' );
68 $$out =~ s/prompt://g;
69 is( $$out, get_expected('frobn', 'frobnitz' ), 'works with new $complete' );