X-Git-Url: http://www.git.stargrave.org/?a=blobdiff_plain;f=t%2Finbox.t;h=8563e32039dcc0699228f2da0dfec8097b9ecb90;hb=4db4bfa2c9178b315d2ac09cff794a4476ba1f6e;hp=45ba1df2e5576496c164807378f98857676c8272;hpb=19e00ca1a6aab8e59f74241fcdfbb768785ff2ff;p=public-inbox.git
diff --git a/t/inbox.t b/t/inbox.t
index 45ba1df2..8563e320 100644
--- a/t/inbox.t
+++ b/t/inbox.t
@@ -1,4 +1,4 @@
-# Copyright (C) 2016 all contributors
+# Copyright (C) 2016-2018 all contributors
# License: AGPL-3.0+
use strict;
use warnings;
@@ -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();