Skip to content

Commit

Permalink
Fix the pointy block test
Browse files Browse the repository at this point in the history
  • Loading branch information
leto committed Jul 31, 2010
1 parent 849e6a8 commit 21df97c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions t/sql/plperl6.sql
Expand Up @@ -15,7 +15,7 @@ BEGIN;
\i plparrot.sql \i plparrot.sql


-- Plan the tests. -- Plan the tests.
SELECT plan(9); SELECT plan(10);


CREATE OR REPLACE FUNCTION test_void_plperl6(integer) RETURNS void LANGUAGE plperl6 AS $$ CREATE OR REPLACE FUNCTION test_void_plperl6(integer) RETURNS void LANGUAGE plperl6 AS $$
Nil Nil
Expand Down Expand Up @@ -44,8 +44,8 @@ $$;


CREATE OR REPLACE FUNCTION test_named_pointy(integer, integer, integer) RETURNS int LANGUAGE plperl6 AS $$ CREATE OR REPLACE FUNCTION test_named_pointy(integer, integer, integer) RETURNS int LANGUAGE plperl6 AS $$
-> $a, $b, $c { -> $a, $b, $c {
return [*], $a, $b, $c; return $a * $b * $c;
}; }(|@_);
$$; $$;


CREATE OR REPLACE FUNCTION test_float_plperl6(integer) RETURNS float AS $$ 5.0 $$ LANGUAGE plperl6; CREATE OR REPLACE FUNCTION test_float_plperl6(integer) RETURNS float AS $$ 5.0 $$ LANGUAGE plperl6;
Expand Down

0 comments on commit 21df97c

Please sign in to comment.