On Mon, Dec 17, 2001 at 08:12:43AM +, Piers Cawley wrote:
What's wrong with
ok ( eval { $foo-isa('Foo') } );
or even:
ok (eval { ref($foo) $foo-isa('Foo') });
As Kurt already pointed out, you can do:
ok( UNIVERSAL::isa($foo, 'Foo') );
but if it fails
given the following setup:
Embedded Perl version v5.6.1 for Apache/1.3.22 (Unix) mod_python/2.7.6
Python/2.1.1 PHP/4.0.6 mod_perl/1.26 process 8458,
uname -a
FreeBSD xxx.com 4.4-RELEASE FreeBSD 4.4-RELEASE #1: Thu Dec
13 08:25:04 EST 2001
[EMAIL PROTECTED]:/usr/src/sys/compile/PHILIP i386
Op een mooie dag (Sun, 16 Dec 2001 15:30:17 -0500), besloot Michael G Schwern
[EMAIL PROTECTED] de wereld om te draaien en schreef:
Sorry, I did look into the failed tests, but I don't understand the
Test::Harness::Straps::analyze_file() logic. MSWin32 doesn't support the open()
On Sun, Dec 16, 2001 at 04:38:44PM -0500, Philip M. Gollucci wrote:
given the following setup:
Embedded Perl version v5.6.1 for Apache/1.3.22 (Unix) mod_python/2.7.6
Python/2.1.1 PHP/4.0.6 mod_perl/1.26 process 8458,
uname -a
FreeBSD xxx.com 4.4-RELEASE FreeBSD 4.4-RELEASE #1: Thu Dec
13
Hallo Michael,
Am 2001-12-16 um 21:20 schriebst du:
On Sun, Dec 16, 2001 at 11:09:29AM -0700, chromatic wrote:
+ like( $$out, qr/could not locate your pod2man/,
+ '... should warn if pod2man cannot be located' );
Gerrit, do you already have a perl installed in the spot
Big release here, folks. Lots of new stuff, knocked off a good chunk
of the TODO list.
http://www.pobox.com/~schwern/src/Test-Simple-0.40.tar.gz
0.40 Fri Dec 14 15:41:39 EST 2001
* isa_ok() now accepts unblessed references gracefully
- Nick Clark found a bug with like() and a regex
Michael G Schwern [EMAIL PROTECTED] writes:
On Mon, Dec 17, 2001 at 08:12:43AM +, Piers Cawley wrote:
What's wrong with
ok ( eval { $foo-isa('Foo') } );
or even:
ok (eval { ref($foo) $foo-isa('Foo') });
As Kurt already pointed out, you can do:
ok(
-BEGIN PGP SIGNED MESSAGE-
Moin,
On 17-Dec-01 Michael G Schwern tried to scribble about:
Big release here, folks. Lots of new stuff, knocked off a good chunk
of the TODO list.
http://www.pobox.com/~schwern/src/Test-Simple-0.40.tar.gz
0.40 Fri Dec 14 15:41:39 EST 2001
What
The URL
http://unixbeard.net/~richardc/lab/Pod-Coverage/Pod-Coverage-0.09.tar.gz
has entered CPAN as
file: $CPAN/authors/id/R/RC/RCLAMP/Pod-Coverage-0.09.tar.gz
size: 9823 bytes
md5: 0044c9f6fc7c913cad526c451f33be07
Changes since the last installment:
Fixed a typo in mstevens'
On Mon, Dec 17, 2001 at 11:48:34AM +0100, Tels wrote:
What about the problem that can_ok() doesn't increase the testcount number
by the number of methods, but only by one?
Like I said, I tried it that way, didn't like it and changed the
behavior. Found myself having trouble keeping track of
Stas Bekman found a problem with the globals in Test.pm when run under
mod_perl (ie. persistently). Test::More probably has the same
problem.
Also, the license has been changed from Artistic-only to same as Perl.
http://www.pobox.com/~schwern/src/Test-1.19.tar.gz
2001-12-17 Michael G Schwern
http://www.pobox.com/~schwern/src/Test-Harness-2.00_05.tar.gz
Things look nice. This release contains only minor fixes, except on
VMS where _04 exploded nicely. Should be 100% now, let me know
otherwise. I'm trying to get rid of that extra newline in the output.
t/00compile
12 matches
Mail list logo