theory/pgtap

Documentation: `END;` must be removed.

fjf2002 opened this issue · 3 comments

In your documentation, in

CREATE OR REPLACE FUNCTION test_user(
) RETURNS SETOF TEXT AS $$
   SELECT is( nick, 'theory', 'Should have nick') FROM users;
END;
$$ LANGUAGE sql;

The line END; must be removed.

That was fixed by #208 and released way back in 1.1.0 in late 2019.

... but END; is still present in https://pgtap.org/documentation.html !?

Ah, thanks, yeah, we never updated the docs for v1.1.0 🤦🏻 Fixed in 4161e60.