Skip to content

Commit

Permalink
t/11-scraper-print.t: Ignore source of i/p data.
Browse files Browse the repository at this point in the history
This test should now pass when part of the summary line
is printed to the right file handle, whether the source was
from the web or the local data file.

Plan to improve it, or make other tests that detect problems
for web i/p data.
  • Loading branch information
clp committed Apr 22, 2012
1 parent 2b6f0fb commit 7defe0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/11-scraper-print.t
Expand Up @@ -17,7 +17,7 @@ $application->output_fh($fh);

$application->run;
like( $output_string,
qr/Using data src ,local copy of web page, for letters to the editor in wsj./ ,
"Got WSJ letters summary line when using local i/p data.");
qr{Using data src ,.*, for letters to the editor in wsj.} ,
"Got WSJ letters summary line.");

diag( "Testing Scraper $Scraper::VERSION, Perl $], $^X" );

0 comments on commit 7defe0f

Please sign in to comment.