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

Skip to content

Commit 95259c6

Browse files
authored
Merge pull request #603 from utPLSQL/feature/documentation_typos
Fixed typos in expectations documentation
2 parents aedbbe7 + 2d1c94f commit 95259c6

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

docs/userguide/expectations.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ For details on available options and how to use them, read the [advanced data co
448448

449449
### Diff functionality for compound data-types
450450

451-
When comparing compound data, utPLSQL will determine diff between expected and actual data.
451+
When comparing compound data, utPLSQL will determine the difference between the expected and the actual data.
452452
The diff includes:
453453
- differences in column names, column positions and column data-type for cursor data
454454
- only data in columns/rows that differ
@@ -473,16 +473,16 @@ And the actual cursor data:
473473
| M | LUKE | SKYWALKER | 1000 | 2 |
474474

475475

476-
When considering the data-sets as ordered, there are following following differences:
476+
The two datasets above have the following differences:
477477
- column ID is misplaced (should be first column but is last)
478478
- column SALARY has data-type VARCHAR2 but should be NUMBER
479-
- column GENDER exists in actual but not in the expected (it ir an Extra column)
479+
- column GENDER exists in actual but not in the expected (it is an Extra column)
480480
- data in column SALARY for row number 1 in actual is not matching expected
481481
- row number 2 in actual (ID=3) is not matching expected
482482
- row number 3 in actual (ID=4) is not matching expected
483483
- row number 4 in actual (ID=2) is not expected in results (Extra row in actual)
484484

485-
utPLSQL will report all of the above differences in a readable format to help you identify what is not correct in compared data-set.
485+
utPLSQL will report all of the above differences in a readable format to help you identify what is not correct in the compared dataset.
486486

487487
Below example illustrates, how utPLSQL will report such differences.
488488
```sql
@@ -562,17 +562,17 @@ utPLSQL identifies and reports on columns:
562562
- extra/missing columns
563563

564564
When comparing rows utPLSQL:
565-
- reports only mismatched columns, when rows match
565+
- reports only mismatched columns when rows match
566566
- reports columns existing in both data-sets when whole row is not matching
567-
- reports whole extra (not expected) row from actual, when actual has extra rows
568-
- reports whole missing (expected) row from expected, when expected has extra rows
567+
- reports whole extra (not expected) row from actual when actual has extra rows
568+
- reports whole missing (expected) row from expected when expected has extra rows
569569

570570

571571
### Object and collection data-type comparison examples
572572

573573
When comparing object type to object type or collection to collection, utPLSQL will check:
574574
- if data-types match
575-
- id data in the compared objects/collections are the same.
575+
- if data in the compared objects/collections are the same.
576576

577577
The diff functionality for objects and collections is similar to diff on cursors.
578578
When diffing objects/collections however, utPLSQL will not check attribute names and data-types.

0 commit comments

Comments
 (0)