about summary refs log tree commit homepage
path: root/t/inbox.t
diff options
context:
space:
mode:
Diffstat (limited to 't/inbox.t')
-rw-r--r--t/inbox.t3
1 files changed, 3 insertions, 0 deletions
diff --git a/t/inbox.t b/t/inbox.t
index 45ba1df2..9909dc53 100644
--- a/t/inbox.t
+++ b/t/inbox.t
@@ -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();