Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Start adding failing tests for people to hack on.
- Loading branch information
1 parent
7c18818
commit 0a6179d
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
use TestML::Runner::TAP; | ||
|
||
TestML::Runner::TAP.new( | ||
document => 'fail.tml', | ||
bridge => 'Bridge', | ||
).run(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
... | ||
|
||
|