Changeset 961


Ignore:
Timestamp:
12/31/25 11:31:52 (4 hours ago)
Author:
Kris Deugau
Message:

/trunk

Polish up a little boilerplate in t/DNSTest.pm for easier debugging of tests
See #88

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/t/DNSTest.pm

    r948 r961  
    3939
    4040sub new {
     41  my $this = shift;
     42  my $class = ref($this) || $this;
     43  my %args = @_;
     44
    4145  $dnsdb = new DNSDB(
    4246        dbhost => 'localhost',
     
    4751  ok( defined $dnsdb );
    4852  ok( $dnsdb->isa('DNSDB') );
     53
     54  $debug = 1 if $args{debug};
    4955
    5056  ## Prepare the DB
Note: See TracChangeset for help on using the changeset viewer.