This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Update CPAN-Meta-YAML to CPAN version 0.010
[perl5.git] / cpan / CPAN-Meta-YAML / t / 16_nullrefs.t
1 # Testing for null references
2
3 use strict;
4 use warnings;
5
6 BEGIN {
7     $|  = 1;
8     $^W = 1;
9 }
10
11 use File::Spec::Functions ':ALL';
12 use t::lib::Test;
13 use Test::More tests(1);
14 use CPAN::Meta::YAML;
15
16
17
18
19
20 #####################################################################
21 # Example Empty References
22
23 yaml_ok(
24     <<'END_YAML',
25 --- []
26 --- {}
27 END_YAML
28     [ [], {} ],
29     'Empty references',
30 );