Filewatcher File Search File Search
Catalog
Content Search
» » » » » »

perl-Test-Differences

Test strings and data structures and show differences if not ok

When the code you're testing returns multiple lines, records or data structures and they're just plain wrong, an equivalent to the Unix diff utility may be just what's needed.
Homepage:
Package version:0.4801
Architecture:noarch
Distribution:CentOS
Filename:perl-Test-Differences-0.4801-3.el6.noarch.rpm

/usr/share/man/man3/Test::Differences.3pm.gz

Differences(3)   User Contributed Perl Documentation  Differences(3)



NAME
       Test::Differences - Test strings and data structures and show
       differences if not ok

SYNOPSIS
          use Test;    ## Or use Test::More
          use Test::Differences;

          eq_or_diff $got,  "a\nb\nc\n",   "testing strings";
          eq_or_diff \@got, [qw( a b c )], "testing arrays";

          ## 
more»

/usr/share/doc/perl-Test-Differences-0.4801/Changes

Changes file for Test::Differences

0.48_01 Wed Jul 30 10:42:52 GMT 2008
    - Fixed bug when comparing AoH with non-scalar values.  Reported (with
      fix) by Mark Zealey
      (http://rt.cpan.org/Public/Bug/Display.html?id=29732)

0.47 Tue Jun 17 08:54:59 EDT 2003
    - Add context option (reworked patch from fetko@slaysys.com)
    - Improve options handling for eq_or_diff(), $name is no longe
more»

Browse inside perl-Test-Differences-0.4801-3.el6.noarch.rpm

880 B2014-11-29HEADER  view  449+ mirrors
         [DIR]usr/ (1)  65535+ mirrors

Download perl-Test-Differences-0.4801-3.el6.noarch.rpm

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2016 FileWatcher.com