[svn:DBD-Pg] r12622 - DBD-Pg/trunk/t

[email protected]
Newsgroups gmane.comp.db.postgresql.dbdpg.cvs
Message-ID <[email protected]>
Author: turnstep
Date: Sat Mar 21 21:21:40 2009
New Revision: 12622

Modified:
   DBD-Pg/trunk/t/03dbmethod.t
   DBD-Pg/trunk/t/99_spellcheck.t

Log:
Minor spelling and formatting changes.


Modified: DBD-Pg/trunk/t/03dbmethod.t
==============================================================================
--- DBD-Pg/trunk/t/03dbmethod.t	(original)
+++ DBD-Pg/trunk/t/03dbmethod.t	Sat Mar 21 21:21:40 2009
@@ -1380,7 +1380,7 @@
 	$t='DB handle method "lo_import" inserts correct data';
 	$SQL = "SELECT data FROM pg_largeobject where loid = $handle";
 	$info = $dbh->selectall_arrayref($SQL)->[0][0];
-	is_deeply($info, "abc\ndef", $t);
+	is_deeply ($info, "abc\ndef", $t);
 
 	$t='DB handle method "lo_open" works after "lo_insert"';
 	$handle = $dbh->func($handle, $R, 'lo_open');
@@ -1395,7 +1395,7 @@
 	$t='DB handle method "lo_export" works';
 	($fh,$filename) = File::Temp::tmpnam();
 	$result = $dbh->func($objid, $filename, 'lo_export');
-	ok(-e $filename, $t);
+	ok (-e $filename, $t);
 	seek($fh,0,1);
 	seek($fh,0,0);
 	$result = read $fh, $data, 10;
@@ -1411,50 +1411,50 @@
 eval {
 	$dbh->func($W, 'lo_creat');
 };
-like($@, qr{lo_creat when AutoCommit is on}, $t);
+like ($@, qr{lo_creat when AutoCommit is on}, $t);
 
 $t='DB handle method "lo_open" fails with AutoCommit on';
 eval {
 	$dbh->func($object, $W, 'lo_open');
 };
-like($@, qr{lo_open when AutoCommit is on}, $t);
+like ($@, qr{lo_open when AutoCommit is on}, $t);
 
 $t='DB handle method "lo_read" fails with AutoCommit on';
 eval {
 	$dbh->func($object, $data, 0, 'lo_read');
 };
-like($@, qr{lo_read when AutoCommit is on}, $t);
+like ($@, qr{lo_read when AutoCommit is on}, $t);
 
 $t='DB handle method "lo_lseek" fails with AutoCommit on';
 eval {
 	$dbh->func($handle, 0, 0, 'lo_lseek');
 };
-like($@, qr{lo_lseek when AutoCommit is on}, $t);
+like ($@, qr{lo_lseek when AutoCommit is on}, $t);
 
 $t='DB handle method "lo_write" fails with AutoCommit on';
 $buf = 'tangelo mulberry passionfruit raspberry plantain' x 500;
 eval {
 	$dbh->func($handle, $buf, length($buf), 'lo_write');
 };
-like($@, qr{lo_write when AutoCommit is on}, $t);
+like ($@, qr{lo_write when AutoCommit is on}, $t);
 
 $t='DB handle method "lo_close" fails with AutoCommit on';
 eval {
 	$dbh->func($handle, 'lo_close');
 };
-like($@, qr{lo_close when AutoCommit is on}, $t);
+like ($@, qr{lo_close when AutoCommit is on}, $t);
 
 $t='DB handle method "lo_tell" fails with AutoCommit on';
 eval {
 	$dbh->func($handle, 'lo_tell');
 };
-like($@, qr{lo_tell when AutoCommit is on}, $t);
+like ($@, qr{lo_tell when AutoCommit is on}, $t);
 
 $t='DB handle method "lo_unlink" fails with AutoCommit on';
 eval {
 	$dbh->func($object, 'lo_unlink');
 };
-like($@, qr{lo_unlink when AutoCommit is on}, $t);
+like ($@, qr{lo_unlink when AutoCommit is on}, $t);
 
 
 SKIP: {
@@ -1475,12 +1475,12 @@
 	$t='DB handle method "lo_import" inserts correct data (AutoCommit on)';
 	$SQL = "SELECT data FROM pg_largeobject where loid = $handle";
 	$info = $dbh->selectall_arrayref($SQL)->[0][0];
-	is_deeply($info, "abc\ndef", $t);
+	is_deeply ($info, "abc\ndef", $t);
 
 	$t='DB handle method "lo_export" works (AutoCommit on)';
 	($fh,$filename) = File::Temp::tmpnam();
 	$result = $dbh->func($objid, $filename, 'lo_export');
-	ok(-e $filename, $t);
+	ok (-e $filename, $t);
 	seek($fh,0,1);
 	seek($fh,0,0);
 	$result = read $fh, $data, 10;

Modified: DBD-Pg/trunk/t/99_spellcheck.t
==============================================================================
--- DBD-Pg/trunk/t/99_spellcheck.t	(original)
+++ DBD-Pg/trunk/t/99_spellcheck.t	Sat Mar 21 21:21:40 2009
@@ -576,40 +576,48 @@
 
 ## README:
 BOOTCHECK
-CentOS
-DynaLoader
-Eisentraut
-Gcc
-Landgren
-Lauterbach
-Ubuntu
 cabrion
+CentOS
 conf
 danla
 david
+dmake
 drnoble
+DynaLoader
+Eisentraut
 engsci
+EXTRALIBS
 fe
 freenode
+Gcc
 gmx
 hdf
 irc
 jmore
 landgren
+Landgren
+Lauterbach
+LDLOADLIBS
+MAKEFILE
 pc
+PROGRA
 sandia
 sco
 sl
 sv
+testdb
 turnstep
+Ubuntu
 
 ## Changes:
+boolean
 destringifying
 spellcheck
 gborg
 n's
 Pg's
 qw
+Szilakszi
 
 ## Pg.pm:
 lseg
@@ -759,6 +767,7 @@
 tswitch
 typarray
 typedef
+typefile
 typelem
 typrelid
 uc
@@ -831,11 +840,13 @@
 Vc
 cd
 exe
+frs
 gz
 libpg
 mak
 mkdir
 myperl
+pgfoundry
 nmake
 rc
 src
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.