Oops, we need to test commands more closely :x
Add a missing prototype while we're at it for extra
checking.
});
}
-sub over_line {
+sub over_line ($$) {
my ($self, $r) = @_;
more($self, join("\t", $r->[0], map {
- my $h = xhdr($r, $_);
+ my $h = hdr_val($r, $_);
defined $h ? $h : '';
} @OVERVIEW ));
}
}
}
- # TODO: upgrades and such
+ is_deeply($n->xover('1-'), {
+ '1' => ['hihi',
+ 'Me <me@example.com>',
+ 'Thu, 01 Jan 1970 06:06:06 +0000',
+ '<nntp@example.com>',
+ '',
+ '202',
+ '1' ] }, "XOVER works");
ok(kill('TERM', $pid), 'killed nntpd');
$pid = undef;