Skip to content

Commit

Permalink
Start adding failing tests for people to hack on.
Browse files Browse the repository at this point in the history
  • Loading branch information
ingydotnet committed Jul 12, 2010
1 parent 7c18818 commit 0a6179d
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
6 changes: 6 additions & 0 deletions t/fail.t
@@ -0,0 +1,6 @@
use TestML::Runner::TAP;

TestML::Runner::TAP.new(
document => 'fail.tml',
bridge => 'Bridge',
).run();
36 changes: 36 additions & 0 deletions t/fail.tml
@@ -0,0 +1,36 @@
%TestML: 1.0
%Title: Failing Tests
# %Plan: 6
%PointMarker: +++


# Uncomment the following line to run the tests.

# *perl.eval_perl().dump_to_yaml() == *yaml;


=== Duplicate Reference
+++ perl
my $a = [1, 2];
[ $a, $a ];
+++ yaml
---
- &1
- 1
- 2
- *1
...


=== Circular Reference
+++ SKIP
+++ perl
my $a = ['Hi'];
push $a, $a;
+++ yaml
--- &1
- Hi
- *1
...


0 comments on commit 0a6179d

Please sign in to comment.