Skip to content

Commit eb27605

Browse files
committed
Spellcheck.
1 parent 7d2a20e commit eb27605

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

doc/pgtap.mmd

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ Test Descriptions
338338
-----------------
339339

340340
By convention, each test is assigned a number in order. This is largely done
341-
automatically for you. However, it's often very useful to deascribe each test.
341+
automatically for you. However, it's often very useful to describe each test.
342342
Would you rather see this?
343343

344344
ok 4
@@ -449,7 +449,7 @@ additional diagnostic:
449449
: Value to test.
450450

451451
`:want`
452-
: Value that `:have` is expcted to be. Must be the same data type.
452+
: Value that `:have` is expected to be. Must be the same data type.
453453

454454
`:description`
455455
: A short description of the test.
@@ -494,7 +494,7 @@ Will produce something like this:
494494
So you can figure out what went wrong without re-running the test.
495495

496496
You are encouraged to use `is()` and `isnt()` over `ok()` where possible. You
497-
can even use them to compar records in PostgreSQL 8.4 and later:
497+
can even use them to compare records in PostgreSQL 8.4 and later:
498498

499499
SELECT is( users.*, ROW(1, 'theory', true)::users )
500500
FROM users
@@ -716,7 +716,7 @@ Use these functions very, very, very sparingly.
716716
Checks to see if the given value is of a particular type. The description and
717717
diagnostics of this test normally just refer to "the value". If you'd like
718718
them to be more specific, you can supply a `:name`. For example you might say
719-
"the return value" when yo're examing the result of a function call:
719+
"the return value" when you're examining the result of a function call:
720720

721721
SELECT isa_ok( length('foo'), 'integer', 'The return value from length()' );
722722

@@ -2524,7 +2524,7 @@ This function tests that all of the casts in the database are only the casts
25242524
that *should* be in that database. Casts are specified as strings in a syntax
25252525
similarly to how they're declared via `CREATE CAST`. The pattern is
25262526
`:source_type AS :target_type`. If either type was created with double-quotes
2527-
to force mixed case or special characers, then you must use double quotes in
2527+
to force mixed case or special characters, then you must use double quotes in
25282528
the cast strings. Example:
25292529

25302530
SELECT casts_are(ARRAY[
@@ -2744,7 +2744,7 @@ specified schema does *not* exist.
27442744
: A short description of the test.
27452745

27462746
This function tests whether or not a relation exists in the database. Relations
2747-
are tables, views, materialized views, seqences, composite types, foreign
2747+
are tables, views, materialized views, sequences, composite types, foreign
27482748
tables, and toast tables. The first argument is a schema name, the second is a
27492749
relation name, and the third is the test description. If you omit the schema,
27502750
the relation must be visible in the search path. Example:
@@ -4133,7 +4133,7 @@ description.
41334133
If the table schema is omitted, the table must be visible in the search path.
41344134
If the type schema is omitted, it must be visible in the search path;
41354135
otherwise, the diagnostics will report the schema it's actually in. The schema
4136-
can optinally be included in the `:type` argument, e.g., `'contrib.citext`.
4136+
can optionally be included in the `:type` argument, e.g., `'contrib.citext`.
41374137

41384138
If the test description is omitted, it will be set to "Column
41394139
`:schema.:table.:column` should be type `:schema.:type`". Note that this test
@@ -5575,7 +5575,7 @@ diagnostics that tell you so:
55755575

55765576
The inverse of `domain_type_is()`, this function tests that a domain does
55775577
*not* extend a particular data type. For example, a US postal code domain
5578-
should probably extned the `text` type, not `integer`, since leading 0s are
5578+
should probably extend the `text` type, not `integer`, since leading 0s are
55795579
valid and required. Example:
55805580

55815581
SELECT domain_type_isnt(
@@ -6662,7 +6662,7 @@ table privileges are:
66626662
* TRUNCATE
66636663
* UPDATE
66646664

6665-
Note that the privilege RULE is not available aftter PostgreSQL 8.1, and that
6665+
Note that the privilege RULE is not available after PostgreSQL 8.1, and that
66666666
TRIGGER was added in 8.4.
66676667

66686668
If the `:description` argument is omitted, an appropriate description will be
@@ -6736,7 +6736,7 @@ sequence privileges are:
67366736
* USAGE
67376737

67386738
Note that sequence privileges were added in PostgreSQL 9.0, so this function
6739-
will likley throw an exception on earlier versions.
6739+
will likely throw an exception on earlier versions.
67406740

67416741
If the `:description` argument is omitted, an appropriate description will be
67426742
created. Examples:
@@ -6809,7 +6809,7 @@ The available column privileges are:
68096809
* UPDATE
68106810

68116811
Note that column privileges were added in PostgreSQL 8.4, so this function
6812-
will likley throw an exception on earlier versions.
6812+
will likely throw an exception on earlier versions.
68136813

68146814
If the `:description` argument is omitted, an appropriate description will be
68156815
created. Examples:
@@ -6885,7 +6885,7 @@ available column privileges are:
68856885
* UPDATE
68866886

68876887
Note that column privileges were added in PostgreSQL 8.4, so this function
6888-
will likley throw an exception on earlier versions.
6888+
will likely throw an exception on earlier versions.
68896889

68906890
If the `:description` argument is omitted, an appropriate description will be
68916891
created. Examples:
@@ -7084,7 +7084,7 @@ available function privileges are:
70847084
* USAGE
70857085

70867086
Note that foreign data wrapper privileges were added in PostgreSQL 8.4, so
7087-
this function will likley throw an exception on earlier versions.
7087+
this function will likely throw an exception on earlier versions.
70887088

70897089
If the `:description` argument is omitted, an appropriate description will be
70907090
created. Examples:
@@ -7103,13 +7103,13 @@ will list the extra permissions, like so:
71037103
# USAGE
71047104

71057105
Likewise if the role is not granted some of the specified permissions on the
7106-
fdw:
7106+
FDW:
71077107

71087108
# Failed test 15: "Role kurk should be granted USAGE on odbc"
71097109
# Missing privileges:
71107110
# USAGE
71117111

7112-
In the event that the test fails because the fdw in question does not
7112+
In the event that the test fails because the FDW in question does not
71137113
actually exist or is not visible, you will see an appropriate diagnostic such
71147114
as:
71157115

@@ -7147,7 +7147,7 @@ function privileges are:
71477147
* USAGE
71487148

71497149
Note that server privileges were added in PostgreSQL 8.4, so this function
7150-
will likley throw an exception on earlier versions.
7150+
will likely throw an exception on earlier versions.
71517151

71527152
If the `:description` argument is omitted, an appropriate description will be
71537153
created. Examples:
@@ -7498,7 +7498,7 @@ On PostgreSQL 8.4 and higher, it can take any number of arguments. Lower than
74987498
`:operoid`
74997499
: Operator OID.
75007500

7501-
Similar to casting an operator OID to regoperator, only the schema is not
7501+
Similar to casting an operator OID to `regoperator`, only the schema is not
75027502
included in the display. For example:
75037503

75047504
SELECT display_oper(oprname, oid ) FROM pg_operator;

0 commit comments

Comments
 (0)