diff options
author | Greg Sabino Mullane | 2010-03-01 14:41:10 +0000 |
---|---|---|
committer | Greg Sabino Mullane | 2010-03-01 14:41:10 +0000 |
commit | 2236bf84793e379c92e4928d7d360f6ae57a59ff (patch) | |
tree | e9ac38be4486532e4b8e650c23cb86438c393722 | |
parent | 365b4e0c97d73515e81e1fce000645f489b23551 (diff) |
Minor change to test new function arg separator.
-rw-r--r-- | t/02_same_schema.t | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/t/02_same_schema.t b/t/02_same_schema.t index 95ea66803..61e3577c9 100644 --- a/t/02_same_schema.t +++ b/t/02_same_schema.t @@ -286,19 +286,19 @@ $dbh2->do(q{DROP TABLE table_w_constraint}); #/////////// Functions -$dbh1->do(q{CREATE FUNCTION f1() RETURNS INTEGER LANGUAGE SQL AS 'SELECT 1'}); +$dbh1->do(q{CREATE FUNCTION f1(int,int) RETURNS INTEGER LANGUAGE SQL AS 'SELECT 1'}); $t = qq{$S fails when first schema has an extra function}; like ($cp1->run($stdargs), - qr{^$label CRITICAL.*?\QFunction on 1 but not 2: public.f1()\E}, + qr{^$label CRITICAL.*?\QFunction on 1 but not 2: public.f1(int4,int4)\E}, $t); -$dbh1->do(q{DROP FUNCTION f1()}); +$dbh1->do(q{DROP FUNCTION f1(int,int)}); -$dbh2->do(q{CREATE FUNCTION f2() RETURNS INTEGER LANGUAGE SQL AS 'SELECT 1'}); +$dbh2->do(q{CREATE FUNCTION f2(int,int) RETURNS INTEGER LANGUAGE SQL AS 'SELECT 1'}); $t = qq{$S fails when second schema has an extra function}; like ($cp1->run($stdargs), - qr{^$label CRITICAL.*?\QFunction on 2 but not 1: public.f2()\E}, + qr{^$label CRITICAL.*?\QFunction on 2 but not 1: public.f2(int4,int4)\E}, $t); -$dbh2->do(q{DROP FUNCTION f2()}); +$dbh2->do(q{DROP FUNCTION f2(int,int)}); $dbh1->do(q{CREATE FUNCTION f3(INTEGER) RETURNS INTEGER LANGUAGE SQL AS 'SELECT 1'}); $dbh2->do(q{CREATE FUNCTION f3() RETURNS INTEGER LANGUAGE SQL AS 'SELECT 1'}); |