File: live-refs.t

package info (click to toggle)
libtest-tabledriven-perl 0.02-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 140 kB
  • sloc: perl: 941; makefile: 2
file content (15 lines) | stat: -rw-r--r-- 340 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env perl
# Copyright (c) 2007 Jonathan Rockway <jrockway@cpan.org>

use strict;
use warnings;
use Test::TableDriven (
    refs => [[ [qw/1/]          => [qw/1/]         ],
             [ { foo => 'bar' } => { foo => 'bar'} ],
             [ [qw/1 3 5/]      => [qw/1 3 5/]     ],
            ],
);

sub refs { $_[0] }

runtests;