| 1 | 1 | require Test::Simple; | |
| 2 | |||
| 3 | 1 | push @INC, 't/lib'; | |
| 4 | 1 | require Test::Simple::Catch; | |
| 5 | 1 | my($out, $err) = Test::Simple::Catch::caught(); | |
| 6 | |||
| 7 | 1 | Test::Simple->import(tests => 5); | |
| 8 | |||
| 9 | 1 | ok(1); | |
| 10 | 1 | ok(5, 'yep'); | |
| 11 | 1 | ok(3, 'beer'); | |
| 12 | 1 | ok("wibble", "wibble"); | |
| 13 | 1 | ok(1); |