Changeset 1382

Show
Ignore:
Timestamp:
08/19/08 00:45:22 (5 months ago)
Author:
jtv
Message:

Fixed test failure; only seems to bother older gcc for some reason.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ChangeLog

    r1381 r1382  
    55 test/test089.cxx, test/test092.cxx, test/test094.cxx: 
    66  - Replaced throws with test helpers. 
     7 test/unit/test_sql_cursor.cxx: 
     8  - Fixed test failure that only showed up on older gcc versions 
    79 win32/vc-test.mak.template: 
    810  - First stab at adjusting to new test configuration 
  • trunk/test/unit/test_sql_cursor.cxx

    r1375 r1382  
    3434  PQXX_CHECK_EQUAL(offset, 1, "Unexpected offset from move()"); 
    3535  PQXX_CHECK_EQUAL(displacement, 1, "Unexpected displacement after move()"); 
    36   PQXX_CHECK_EQUAL(forward.pos(), 2u, "Wrong position after move()"); 
     36  PQXX_CHECK_EQUAL(forward.pos(), 2, "Wrong position after move()"); 
    3737  PQXX_CHECK_EQUAL(forward.endpos(), -1, "endpos() unexpectedly set"); 
    3838