Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions nix/tests/expected/pgtap.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
begin;
select plan(1);
plan
------
1..1
(1 row)

-- Run the tests.
select pass( 'My test passed, w00t!' );
pass
------------------------------
ok 1 - My test passed, w00t!
(1 row)

-- Finish the tests and clean up.
select * from finish();
finish
--------
(0 rows)

rollback;
11 changes: 11 additions & 0 deletions nix/tests/sql/pgtap.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
begin;

select plan(1);

-- Run the tests.
select pass( 'My test passed, w00t!' );

-- Finish the tests and clean up.
select * from finish();

rollback;
Loading