Skip to content

Commit

Permalink
fix test_user function example (yugabyte#208)
Browse files Browse the repository at this point in the history
Fix syntax error in the docs. Thanks to PeteDevoy for the patch.
  • Loading branch information
PeteDevoy authored and nasbyj committed Nov 19, 2019
1 parent e9449ae commit a170aa4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion doc/pgtap.mmd
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,6 @@ values. Here's an example, testing a hypothetical `users` table:
CREATE OR REPLACE FUNCTION test_user(
) RETURNS SETOF TEXT AS $$
SELECT is( nick, 'theory', 'Should have nick') FROM users;
END;
$$ LANGUAGE sql;

See below for details on the pgTAP assertion functions. Once you've defined
Expand Down

0 comments on commit a170aa4

Please sign in to comment.