Upgrade to Parse::CPAN::Meta 1.38
[p5sagit/p5-mst-13.2.git] / lib / Parse / CPAN / Meta / t / 19_errors.t
1 #!/usr/bin/perl
2
3 # Testing documents that should fail
4
5 BEGIN {
6         if( $ENV{PERL_CORE} ) {
7                 chdir 't';
8                 @INC = ('../lib', 'lib');
9         }
10         else {
11                 unshift @INC, 't/lib/';
12         }
13 }
14
15 use strict;
16 BEGIN {
17         $|  = 1;
18         $^W = 1;
19 }
20
21 use File::Spec::Functions ':ALL';
22 use Parse::CPAN::Meta::Test;
23 use Test::More tests => 1;
24
25
26
27
28
29 #####################################################################
30 # Missing Features
31
32 # We don't support raw nodes
33 yaml_error( <<'END_YAML', 'does not support a feature' );
34 ---
35 version: !!perl/hash:version 
36   original: v2.0.2
37   qv: 1
38   version: 
39     - 2
40     - 0
41     - 2
42 END_YAML
43