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

Skip to content

Commit 5aa19ea

Browse files
committed
Update some of the format
1 parent 9557daa commit 5aa19ea

4 files changed

Lines changed: 8 additions & 4 deletions

File tree

source/expectations/data_values/ut_compound_data_helper.pkb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@ create or replace package body ut_compound_data_helper is
176176
l_results tt_row_diffs;
177177
begin
178178
l_column_filter := get_columns_row_filter(a_exclude_xpath,a_include_xpath);
179+
179180
/**
180181
* Since its unordered search we cannot select max rows from diffs as we miss some comparision records
181182
* We will restrict output on higher level of select

source/expectations/data_values/ut_compound_data_value.tpb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,15 @@ create or replace type body ut_compound_data_value as
107107
l_actual := treat(a_other as ut_compound_data_value);
108108

109109
dbms_lob.createtemporary(l_result,true);
110+
110111
--diff rows and row elements
111112
l_diff_id := ut_compound_data_helper.get_hash(self.data_id||l_actual.data_id);
112113

113114
-- First tell how many rows are different
114115
execute immediate 'select count('||case when a_join_by_xpath is not null then 'distinct pk_hash' else '*' end||') from '
115116
|| l_ut_owner || '.ut_compound_data_diff_tmp
116117
where diff_id = :diff_id' into l_diff_row_count using l_diff_id;
118+
117119
if l_diff_row_count > 0 then
118120
l_compare_type := ut_compound_data_helper.compare_type(a_join_by_xpath,a_unordered);
119121
l_row_diffs := ut_compound_data_helper.get_rows_diff(
@@ -222,7 +224,7 @@ create or replace type body ut_compound_data_value as
222224
if not a_other is of (ut_compound_data_value) then
223225
raise value_error;
224226
end if;
225-
227+
226228
l_other := treat(a_other as ut_compound_data_value);
227229

228230
l_diff_id := ut_compound_data_helper.get_hash(self.data_id||l_other.data_id);

source/expectations/data_values/ut_data_value_refcursor.tpb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ create or replace type body ut_data_value_refcursor as
248248
then
249249
l_result := 1;
250250
end if;
251-
251+
252252
if a_unordered then
253253
l_result := l_result + (self as ut_compound_data_value).compare_implementation(a_other, a_exclude_xpath, a_include_xpath,
254254
a_join_by_xpath, a_unordered, a_inclusion_compare, a_is_negated);
@@ -265,5 +265,6 @@ create or replace type body ut_data_value_refcursor as
265265
return self.elements_count = 0;
266266
end;
267267

268+
268269
end;
269270
/

source/expectations/matchers/ut_equal.tps

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
create or replace type ut_equal force under ut_comparison_matcher(
1+
create or replace type ut_equal under ut_comparison_matcher(
22
/*
33
utPLSQL - Version 3
44
Copyright 2016 - 2018 utPLSQL Project
@@ -71,4 +71,4 @@ create or replace type ut_equal force under ut_comparison_matcher(
7171
overriding member function failure_message_when_negated(a_actual ut_data_value) return varchar2
7272
)
7373
not final
74-
/
74+
/

0 commit comments

Comments
 (0)