1Test::Stream::Compare::URseefr(3C)ontributed Perl DocumeTnetsatt:i:oSntream::Compare::Ref(3)
2
3
4

NAME

6       Test::Stream::Compare::Ref - Ref comparison
7

DEPRECATED

9       This distribution is deprecated in favor of Test2, Test2::Suite, and
10       Test2::Workflow.
11
12       See Test::Stream::Manual::ToTest2 for a conversion guide.
13

DESCRIPTION

15       Used to compare 2 refs in a deep comparison.
16

SYNOPSIS

18           my $ref = {};
19           my $check = Test::Stream::Compare::Ref->new(input => $ref);
20
21           # Passes
22           is( [$ref], [$check], "The array contains the exact ref we want" );
23
24           # Fails, they both may be empty hashes, but we are looking for a specific
25           # reference.
26           is( [{}], [$check], "This will fail");
27

SOURCE

29       The source code repository for Test::Stream can be found at
30       http://github.com/Test-More/Test-Stream/.
31

MAINTAINERS

33       Chad Granum <exodist@cpan.org>
34

AUTHORS

36       Chad Granum <exodist@cpan.org>
37
39       Copyright 2015 Chad Granum <exodist7@gmail.com>.
40
41       This program is free software; you can redistribute it and/or modify it
42       under the same terms as Perl itself.
43
44       See http://dev.perl.org/licenses/
45
46
47
48perl v5.28.1                      2016-02-05     Test::Stream::Compare::Ref(3)
Impressum