Skip to content

Commit d00692b

Browse files
committed
Improve tests
1 parent ac709b4 commit d00692b

File tree

3 files changed

+4
-27
lines changed

3 files changed

+4
-27
lines changed

expected/pg_variables.out

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,12 +583,16 @@ SELECT pgv_update('vars3', 'r1', row(3, 'str22'::varchar));
583583
f
584584
(1 row)
585585

586+
SELECT pgv_update('vars4', 'r1', row(3, 'str22'::varchar)); -- fail
587+
ERROR: unrecognized package "vars4"
586588
select pgv_delete('vars3', 'r2', NULL::int);
587589
pgv_delete
588590
------------
589591
f
590592
(1 row)
591593

594+
select pgv_delete('vars4', 'r2', NULL::int); -- fail
595+
ERROR: unrecognized package "vars4"
592596
-- Test NULL values
593597
SELECT pgv_insert('vars3', 'r2', NULL); -- fail
594598
ERROR: record argument can not be NULL

regression.diffs

Lines changed: 0 additions & 24 deletions
This file was deleted.

regression.out

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy