Commit graph

3 commits

Author SHA1 Message Date
sno
966ed175b7 Updating devel/p5-Test-Differences from 0.4801nb1 to 0.5000
pkgsrc changes:
  - Adding license definition

Upstream changes (since module release 0.4801):
0.50 Sat Oct 17 15:18:03 2009
    - Production release.

0.49_02 Sat Aug  2 13:00:21 GMT 2008
    - Added support for all diff styles supplied by Text::Diff.  Requested by
      Kevin Jones (http://rt.cpan.org/Public/Bug/Display.html?id=23579)
    - Add Build.PL.
    - Convert to universally use Test::More instead of Test.

0.49_01 Fri Aug  1 09:04:58 GMT 2008
    - Convert to modern Perl distribution.
    - Applied doc suggestion from Slaven Rezic
      (http://rt.cpan.org/Ticket/Display.html?id=24297)
    - Bumped up version number higher than normal because I forgot to quote
      the "developer release" number last time.
    - Applied Mark Stosberg's  patch which fixed the { a => 1 } versus
      { a => '1' } bug (http://rt.cpan.org/Ticket/Display.html?id=3029)
2009-10-25 11:44:13 +00:00
he
fbdb9de9ef Update from version 0.47 to 0.48.01. Changes:
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)
2008-08-06 21:09:54 +00:00
abs
36af742d13 Import p5-Test-Differences-0.47
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.

eq_or_diff_...() compares two strings or (limited) data structures
and either emits an ok indication or a side-by-side diff.
Test::Differences is designed to be used with Test.pm and with
Test::Simple, Test::More, and other Test::Builder based testing
modules. As the SYNOPSIS shows, another testing module must be used
as the basis for your test suite.

These functions assume that you are presenting it with "flat"
records, looking like:

    - scalars composed of record-per-line
    - arrays of scalars,
    - arrays of arrays of scalars,
    - arrays of hashes containing only scalars
2008-06-23 04:04:21 +00:00