File: run_is_deeply.t

package info (click to toggle)
libtest-base-perl 0.89-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 676 kB
  • sloc: perl: 936; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 248 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use Test::Base tests => 3;

filters 'eval';

run_is_deeply qw(foo bar);

run {
    my $block = shift;
    ok ref $block->foo;
    ok ref $block->bar;
};

__DATA__
=== Test is_deeply
--- foo
{ foo => 22, bar => 33 }
--- bar
{ bar => 33, foo => 22 }