diff options
author | Michael G. Schwern <schwern@pobox.com> | 2001-09-06 23:30:41 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2001-09-07 12:21:30 +0000 |
commit | 2fe373ce2a1c176022df002e73eae7d1ec7f2768 (patch) | |
tree | 008cd0831382ef634f7d146261a1ca605376975f /t/lib/sample-tests | |
parent | db2a39d535b6d8484c7749869545e2a2d2f00c6a (diff) | |
download | perl-2fe373ce2a1c176022df002e73eae7d1ec7f2768.tar.gz |
Test::Harness 1.25 sync
Message-ID: <20010907033041.A2796@blackrider>
p4raw-id: //depot/perl@11931
Diffstat (limited to 't/lib/sample-tests')
-rw-r--r-- | t/lib/sample-tests/header_at_end_fail | 11 | ||||
-rw-r--r-- | t/lib/sample-tests/skip_no_msg | 4 | ||||
-rw-r--r-- | t/lib/sample-tests/todo_inline | 6 |
3 files changed, 21 insertions, 0 deletions
diff --git a/t/lib/sample-tests/header_at_end_fail b/t/lib/sample-tests/header_at_end_fail new file mode 100644 index 0000000000..9d1667ab19 --- /dev/null +++ b/t/lib/sample-tests/header_at_end_fail @@ -0,0 +1,11 @@ +print <<DUMMY_TEST; +# comments +ok 1 +not ok 2 +ok 3 +ok 4 +# comment +1..4 +# more ignored stuff +# and yet more +DUMMY_TEST diff --git a/t/lib/sample-tests/skip_no_msg b/t/lib/sample-tests/skip_no_msg new file mode 100644 index 0000000000..51d1ed6b43 --- /dev/null +++ b/t/lib/sample-tests/skip_no_msg @@ -0,0 +1,4 @@ +print <<DUMMY; +1..1 +ok 1 # Skip +DUMMY diff --git a/t/lib/sample-tests/todo_inline b/t/lib/sample-tests/todo_inline new file mode 100644 index 0000000000..5b96d68caf --- /dev/null +++ b/t/lib/sample-tests/todo_inline @@ -0,0 +1,6 @@ +print <<DUMMY_TEST; +1..3 +not ok 1 - Foo # TODO Just testing the todo interface. +ok 2 - Unexpected success # TODO Just testing the todo interface. +ok 3 - This is not todo +DUMMY_TEST |