Ignore:
Timestamp:
Jul 15, 2004, 4:14:47 PM (18 years ago)
Author:
kake
Message:

Fixed bug in diff view - versions are the right way round now!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/t/52_display_diffs.t

    r444 r445  
    33use Config::Tiny;
    44use OpenGuides;
    5 use Test::More tests => 3;
     5use Test::More tests => 4;
    66
    77eval { require DBD::SQLite; };
     
    99
    1010SKIP: {
    11     skip "DBD::SQLite not installed - no database to test with", 3
     11    skip "DBD::SQLite not installed - no database to test with", 4
    1212      unless $have_sqlite;
    1313
     
    5757    unlike( $output, qr/contents are identical/i,
    5858            "...'contents are identical' not printed when contents differ" );
     59    like( $output, qr/<th.*Version\s+2.*Version\s+3.*apple.*lentil/s,
     60          "...versions are right way round" );
    5961}
Note: See TracChangeset for help on using the changeset viewer.