perl: add tests

This commit is contained in:
Fuji, Goro 2010-10-12 23:10:59 +09:00
parent 4f1207a38c
commit 770542c8c7

View File

@ -5,11 +5,14 @@ use Test::More;
use t::Util;
my @input = (
+[[]],
[[]],
[[],[]],
[{"a" => 97},{"a" => 97}],
[{"a" => 97},{"a" => 97},{"a" => 97}],
[ map { +{ "foo $_" => "bar $_" } } 'aa' .. 'zz' ],
[42, null],
[42, true],
[42, false],
);
plan tests => @input * 2;