Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 291944b

Browse files
committed
Updated test to check for NULL data comparison in object.
1 parent a1c5c7e commit 291944b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/core/expectations/compound_data/test_expectation_anydata.pkb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,11 +357,11 @@ create or replace package body test_expectation_anydata is
357357
begin
358358
--Arrange
359359
g_test_expected := anydata.convertObject( test_dummy_object(1, 'A', '0') );
360-
g_test_actual := anydata.convertObject( test_dummy_object(1, 'B', '0') );
360+
g_test_actual := anydata.convertObject( test_dummy_object(1, NULL, '0') );
361361
l_expected := q'[Actual: ut3_tester.test_dummy_object was expected to equal: ut3_tester.test_dummy_object
362362
Diff:
363363
Rows: [ 1 differences ]
364-
Row No. 1 - Actual: <name>B</name>
364+
Row No. 1 - Actual: <name/>
365365
Row No. 1 - Expected: <name>A</name>]';
366366
--Act
367367
ut3.ut.expect( g_test_actual ).to_equal( g_test_expected );

0 commit comments

Comments
 (0)