File: Package.t

package info (click to toggle)
libperinci-object-perl 0.311-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 244 kB
  • sloc: perl: 716; makefile: 2
file content (16 lines) | stat: -rw-r--r-- 220 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!perl

use 5.010;
use strict;
use warnings;
use Test::More 0.96;
use Test::Exception;

use Perinci::Object;

my $ripkg = ripkg { v=>1.1 };

is($ripkg->type, "package", "type");
is($ripkg->v, 1.1, "v");

done_testing();