Skip to content

Commit 0c31b33

Browse files
committed
Update copyright; fix m-dashes.
Also a typo.
1 parent 0199dc2 commit 0c31b33

File tree

2 files changed

+12
-9
lines changed

2 files changed

+12
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ full use of its API. It also requires PL/pgSQL.
9090
Copyright and License
9191
---------------------
9292

93-
Copyright (c) 2008-2016 David E. Wheeler. Some rights reserved.
93+
Copyright (c) 2008-2017 David E. Wheeler. Some rights reserved.
9494

9595
Permission to use, copy, modify, and distribute this software and its
9696
documentation for any purpose, without fee, and without a written agreement is

doc/pgtap.mmd

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -383,16 +383,19 @@ By default pgTAP displays this names as "comment", but you're able to change thi
383383
: A test name.
384384

385385
This will show
386+
386387
# test: my_example_test_function_name
387388
instead of
389+
388390
# my_example_test_function_name()
391+
389392
This makes easy handling test name and differing test names from comments.
390393

391394
I'm ok, you're not ok
392395
---------------------
393396

394-
The basic purpose of pgTAP--and of any TAP-emitting test framework, for that
395-
matter--is to print out either "ok #" or "not ok #", depending on whether a
397+
The basic purpose of pgTAP---and of any TAP-emitting test framework, for that
398+
matter---is to print out either "ok #" or "not ok #", depending on whether a
396399
given test succeeded or failed. Everything else is just gravy.
397400

398401
All of the following functions return "ok" or "not ok" depending on whether
@@ -1419,7 +1422,7 @@ are *not* the same. The two queries can as usual be the names of prepared
14191422
statements or strings containing an SQL query (see the
14201423
[summary](#Pursuing+Your+Query) for query argument details), or even one of
14211424
each. The two queries, however, must return results that are directly
1422-
comparable -- that is, with the same number and types of columns in the same
1425+
comparable --- that is, with the same number and types of columns in the same
14231426
orders. If it happens that the query you're testing returns a single column,
14241427
the second argument may be an array.
14251428

@@ -1536,7 +1539,7 @@ are *not* the same, including duplicates. The two queries can as usual be the
15361539
names of prepared statements or strings containing an SQL query (see the
15371540
[summary](#Pursuing+Your+Query) for query argument details), or even one of
15381541
each. The two queries, however, must return results that are directly
1539-
comparable -- that is, with the same number and types of columns in the same
1542+
comparable --- that is, with the same number and types of columns in the same
15401543
orders. If it happens that the query you're testing returns a single column,
15411544
the second argument may be an array.
15421545

@@ -4935,7 +4938,7 @@ defined in `:schema` are not exactly the functions defined in `:functions`.
49354938
If `:schema` is omitted, then `can()` will look for functions defined in
49364939
schemas defined in the search path. No matter how many functions are listed in
49374940
`:functions`, a single call to `can()` counts as one test. If you want
4938-
otherwise, call `can()` once for each function -- or better yet, use
4941+
otherwise, call `can()` once for each function --- or better yet, use
49394942
`has_function()`. Example:
49404943

49414944
SELECT can( 'pg_catalog', ARRAY['upper', 'lower'] );
@@ -6441,8 +6444,8 @@ user, the diagnostics will look something like:
64416444
# have: postgres
64426445
# want: root
64436446

6444-
Prvileged Access
6445-
----------------
6447+
Privileged Access
6448+
-----------------
64466449

64476450
So we know who owns the objects. But what about other roles? Can they access
64486451
database objects? Let's find out!
@@ -8040,7 +8043,7 @@ Credits
80408043
Copyright and License
80418044
---------------------
80428045

8043-
Copyright (c) 2008-2016 David E. Wheeler. Some rights reserved.
8046+
Copyright (c) 2008-2017 David E. Wheeler. Some rights reserved.
80448047

80458048
Permission to use, copy, modify, and distribute this software and its
80468049
documentation for any purpose, without fee, and without a written agreement is

0 commit comments

Comments
 (0)