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

Skip to content

Commit 1b9e81a

Browse files
committed
fix
1 parent cdb7a80 commit 1b9e81a

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

tests/ut_expectations/common/ut.expect.not_to_be_between.scalar.common.sql

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
--Arrange
22
declare
33
l_actual &&1 := &&2;
4-
l_expected_2 &&1 := &&3;
5-
l_expected_1 &&1 := &&4;
4+
l_expected_1 &&1 := &&3;
5+
l_expected_2 &&1 := &&4;
66
l_result integer;
77
begin
88
--Act
9-
ut.expect(l_actual).to_be_between(l_expected_1,l_expected_2);
9+
ut.expect(l_actual).not_to_be_between(l_expected_1,l_expected_2);
1010
l_result := ut_expectation_processor.get_status();
1111
--Assert
1212
if nvl(:test_result, ut_utils.tr_success) = ut_utils.tr_success and l_result = &&5 then

tests/ut_expectations/common/ut.expect.not_to_equal.scalar.common.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ declare
55
l_result integer;
66
begin
77
--Act
8-
ut.expect(l_actual).to_equal(l_expected);
8+
ut.expect(l_actual).not_to_equal(l_expected);
99
l_result := ut_expectation_processor.get_status();
1010
--Assert
1111
if nvl(:test_result, ut_utils.tr_success) = ut_utils.tr_success and l_result = &&4 then
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
@@lib/RunTest.sql "ut_expectations/common/ut.expect.not_to_be_between.scalar.common.sql 'date' 'sysdate' 'sysdate-1' 'sysdate+1' 'ut_utils.tr_success'"
2-
@@lib/RunTest.sql "ut_expectations/common/ut.expect.not_to_be_between.scalar.common.sql 'number' '0.4' '0.3' '0.5' 'ut_utils.tr_success'"
3-
@@lib/RunTest.sql "ut_expectations/common/ut.expect.not_to_be_between.scalar.common.sql 'varchar2(50)' '''b''' '''a''' '''c''' 'ut_utils.tr_success'"
4-
@@lib/RunTest.sql "ut_expectations/common/ut.expect.not_to_be_between.scalar.common.sql 'timestamp' 'systimestamp' 'systimestamp-1' 'systimestamp' 'ut_utils.tr_success'"
5-
@@lib/RunTest.sql "ut_expectations/common/ut.expect.not_to_be_between.scalar.common.sql 'timestamp with local time zone' 'systimestamp' 'systimestamp-1' 'systimestamp' 'ut_utils.tr_success'"
6-
@@lib/RunTest.sql "ut_expectations/common/ut.expect.not_to_be_between.scalar.common.sql 'timestamp with time zone' 'systimestamp' 'systimestamp-1' 'systimestamp' 'ut_utils.tr_success'"
1+
@@lib/RunTest.sql "ut_expectations/common/ut.expect.not_to_be_between.scalar.common.sql 'date' 'sysdate+2' 'sysdate-1' 'sysdate+1' 'ut_utils.tr_success'"
2+
@@lib/RunTest.sql "ut_expectations/common/ut.expect.not_to_be_between.scalar.common.sql 'number' '0.8' '0.3' '0.5' 'ut_utils.tr_success'"
3+
@@lib/RunTest.sql "ut_expectations/common/ut.expect.not_to_be_between.scalar.common.sql 'varchar2(50)' '''d''' '''a''' '''c''' 'ut_utils.tr_success'"
4+
@@lib/RunTest.sql "ut_expectations/common/ut.expect.not_to_be_between.scalar.common.sql 'timestamp' 'systimestamp+1' 'systimestamp-1' 'systimestamp' 'ut_utils.tr_success'"
5+
@@lib/RunTest.sql "ut_expectations/common/ut.expect.not_to_be_between.scalar.common.sql 'timestamp with local time zone' 'systimestamp+1' 'systimestamp-1' 'systimestamp' 'ut_utils.tr_success'"
6+
@@lib/RunTest.sql "ut_expectations/common/ut.expect.not_to_be_between.scalar.common.sql 'timestamp with time zone' 'systimestamp+1' 'systimestamp-1' 'systimestamp' 'ut_utils.tr_success'"

0 commit comments

Comments
 (0)