mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-30 07:26:29 +02:00
perl: add tests
This commit is contained in:
parent
4f1207a38c
commit
770542c8c7
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user