Upgrade to Parse::CPAN::Meta 1.38
[p5sagit/p5-mst-13.2.git] / lib / Parse / CPAN / Meta / t / 02_basic.t
index 6b65e02..f6a91c1 100644 (file)
@@ -56,26 +56,31 @@ yaml_ok(
        "---\n",
        [ undef ],
        'only_header',
+       noyamlperl => 1,
 );
 yaml_ok(
        "---\n---\n",
        [ undef, undef ],
        'two_header',
+       noyamlperl => 1,
 );
 yaml_ok(
        "--- ~\n",
        [ undef ],
        'one_undef',
+       noyamlperl => 1,
 );
 yaml_ok(
        "---  ~\n",
        [ undef ],
        'one_undef2',
+       noyamlperl => 1,
 );
 yaml_ok(
        "--- ~\n---\n",
        [ undef, undef ],
        'two_undef',
+       noyamlperl => 1,
 );
 
 # Just a scalar
@@ -110,6 +115,7 @@ yaml_ok(
        "---\n- ~\n- bar\n",
        [ [ undef, 'bar' ] ],
        'one_listundef',
+       noyamlperl => 1,
 );
 
 # Simple hashs
@@ -123,6 +129,7 @@ yaml_ok(
        "---\nfoo: bar\nthis: ~\n",
        [ { this => undef, foo => 'bar' } ],
        'one_hash2',
+       noyamlperl => 1,
 );
 
 # Simple array inside a hash with an undef
@@ -136,6 +143,7 @@ foo:
 END_YAML
        [ { foo => [ 'bar', undef, 'baz' ] } ],
        'array_in_hash',
+       noyamlperl => 1,
 );
 
 # Simple hash inside a hash with an undef
@@ -148,6 +156,7 @@ bar:
 END_YAML
        [ { foo => undef, bar => { foo => 'bar' } } ],
        'hash_in_hash',
+       noyamlperl => 1,
 );
 
 # Mixed hash and scalars inside an array
@@ -170,6 +179,7 @@ END_YAML
                { foo => 'bar', this => 'that' },
        ] ],
        'hash_in_array',
+       noyamlperl => 1,
 );
 
 # Simple single quote
@@ -194,12 +204,16 @@ yaml_ok(
        "--- \"  \"\n",
        [ '  ' ],
        "only_spaces",
+       noyamlpm   => 1,
+       noyamlperl => 1,
 );
 
 yaml_ok(
        "--- \"  foo\"\n--- \"bar  \"\n",
        [ "  foo", "bar  " ],
        "leading_trailing_spaces",
+       noyamlpm   => 1,
+       noyamlperl => 1,
 );
 
 # Implicit document start
@@ -225,6 +239,7 @@ yaml_ok(
 END_YAML
        [ [ undef, { foo => 'bar', this => 'that' }, 'baz' ] ],
        'inline_nested_hash',
+       noyamlperl => 1,
 );
 
 # Empty comments