diff options
Diffstat (limited to 't')
-rw-r--r-- | t/inbox.t | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -9,4 +9,7 @@ is($x->base_url, 'https://example.com/test/', 'expanded protocol-relative'); $x = PublicInbox::Inbox->new({url => 'http://example.com/test'}); is($x->base_url, 'http://example.com/test/', 'added trailing slash'); +$x = PublicInbox::Inbox->new({}); +is($x->base_url, undef, 'undef base_url allowed'); + done_testing(); |