Skip to content

Commit

Permalink
Fix #78
Browse files Browse the repository at this point in the history
  • Loading branch information
Andres Gomez Casanova committed Oct 7, 2014
1 parent 9152f31 commit a0dc308
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/sql-pl/Tests_DB2UNIT_ASSERTIONS.sql
Expand Up @@ -3260,12 +3260,12 @@ CREATE OR REPLACE PROCEDURE TEST_DATETIME_05()
SET EXPECTED_MSG = 'The value of both dates is different';

SET TSTMP1 = '1981-03-03';
SET TSTMP2 = '1981-03-04';
SET TSTMP2 = '2014-03-03';
CALL DB2UNIT.ASSERT_DATE_EQUALS(TSTMP1, TSTMP2);
CALL DB2UNIT.CLEAN_TEST_RESULT();

DELETE FROM DB2UNIT_ASSERTIONS.REPORT_TESTS
WHERE MESSAGE = 'Actual : "03/04/1981"'
WHERE MESSAGE = 'Actual : "03/03/2014"'
AND DATE = (SELECT MAX(DATE) FROM DB2UNIT_ASSERTIONS.REPORT_TESTS);
DELETE FROM DB2UNIT_ASSERTIONS.REPORT_TESTS
WHERE MESSAGE = 'Expected: "03/03/1981"'
Expand Down

0 comments on commit a0dc308

Please sign in to comment.