code_junkie

Is there any way to use diag() from Test::More without planning?

Nov 12th, 2011
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. #!/usr/bin/perl
  2. use strict;
  3. use Test::More;
  4. diag('hello');
  5.  
  6. # hello
  7.  
  8. use Test::More tests => 30;
  9.  
  10. use Test::More;
  11. plan(tests => 30);
  12.  
  13. use Test::More qw(no_plan)
Add Comment
Please, Sign In to add comment