Author: turnstep
Date: Sat Jan 12 09:33:00 2008
New Revision: 10525

Modified:
   DBD-Pg/trunk/t/01constants.t

Log:
Add notes about not using warnings and auto-generation


Modified: DBD-Pg/trunk/t/01constants.t
==============================================================================
--- DBD-Pg/trunk/t/01constants.t        (original)
+++ DBD-Pg/trunk/t/01constants.t        Sat Jan 12 09:33:00 2008
@@ -1,9 +1,14 @@
+#!perl
+
 use strict;
+## We cannot 'use warnings' here as PG_TSQUERY and others trip it up
 use Test::More tests => 133;
+select(($|=1,select(STDERR),$|=1)[1]);
 
 use DBD::Pg qw(:pg_types :async);
 
 ## Should match the list in Pg.xs
+## This is auto-generated by types.c, so do not edit manually please
 
 is(PG_ABSTIME          ,   702, 'PG_ABSTIME returns correct value');
 is(PG_ABSTIMEARRAY     ,  1023, 'PG_ABSTIMEARRAY returns correct value');

Reply via email to