File: 07_todo_pass.pl

package info (click to toggle)
libtap-formatter-html-perl 0.13%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 460 kB
  • sloc: perl: 754; javascript: 80; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 348 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use strict;
use warnings;

use Test::More tests => 7;

ok(1, 'im ok');
is(1, 1, 'one is one');
like('abc', qr/b/, 'contains b');

TODO: {
    local $TODO = 'just cant get these working?';
    is(1, 1, 'one is one!');
    like('abc', qr/c/, 'contains c?');
}

TODO: {
    todo_skip 'to the loo', 2;
    ok(2, 'youre ok');
    fail('dont run me');
}