summaryrefslogtreecommitdiff
path: root/cpan/CPAN-Meta-YAML/t/16_nullrefs.t
blob: 158467ec58cac40fab2d534c6a0c69269e128ea1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/perl

# Testing for null references

use strict;
BEGIN {
	$|  = 1;
	$^W = 1;
}

use File::Spec::Functions ':ALL';
use t::lib::Test;
use Test::More tests(1);
use CPAN::Meta::YAML;





#####################################################################
# Example Empty References

yaml_ok(
	<<'END_YAML',
--- []
--- {}
END_YAML
	[ [], {} ],
	'Empty references',
);