Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Start adding failing tests for people to hack on.

  • Loading branch information...
commit 0a6179d7cebd9ff5ec06eee8fbbfeb443a3b539e 1 parent 7c18818
@ingydotnet authored
Showing with 42 additions and 0 deletions.
  1. +6 −0 t/fail.t
  2. +36 −0 t/fail.tml
View
6 t/fail.t
@@ -0,0 +1,6 @@
+use TestML::Runner::TAP;
+
+TestML::Runner::TAP.new(
+ document => 'fail.tml',
+ bridge => 'Bridge',
+).run();
View
36 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
+...
+
+
Please sign in to comment.
Something went wrong with that request. Please try again.