This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl5db: more tests
authorShlomi Fish <shlomif@cpan.org>
Wed, 5 Sep 2012 02:40:38 +0000 (22:40 -0400)
committerRicardo Signes <rjbs@cpan.org>
Wed, 5 Sep 2012 02:41:31 +0000 (22:41 -0400)
commit2c247e84d4c0ff4b5c5fe6c10b3257c55520332a
tree9df4b56199c4dd7a060490a6c594bc9666603bdd
parent32050a639a295d8d8a4d4c664592c86f79aa1383
perl5db: more tests

This patch adds more tests for lib/perl5db.pl on lib/perl5db.t. One note
is that I'm a bit uncomfortable about the test for ".", which did
not initially work exactly as I expected, due to debugger quirks.

This patch also fixes a bug where the /pattern/ command (and possibly
the ?pattern? command as well) got broken due to the addition of "use
strict;", and adds tests for them.
MANIFEST
lib/perl5db.pl
lib/perl5db.t
lib/perl5db/t/test-l-statement-1
lib/perl5db/t/test-l-statement-2 [new file with mode: 0644]