File: Variable.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-- 221 bytes parent folder | download | duplicates (4)
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.98;
use Test::Exception;

use Perinci::Object;

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

is($rivar->type, "variable", "type");
is($rivar->v, 1.1, "v");

done_testing();