diff options
author | Eric Wong <e@80x24.org> | 2021-05-02 06:05:39 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-05-03 18:45:25 +0000 |
commit | 34b534d80c36e92cf7dda6cd64a219d33b96d7a1 (patch) | |
tree | cf2b5a44c6f0e1bad3b00151862405d986d7b7f7 /t | |
parent | 42fd24099577e0f6b6ed58d95d11bdbd80721571 (diff) | |
download | public-inbox-34b534d80c36e92cf7dda6cd64a219d33b96d7a1.tar.gz |
I'm not sure how we'll distinguish JMAP vs read-only HTTPS, yet; but we'll focus on currently-supported stuff, first.
Diffstat (limited to 't')
-rw-r--r-- | t/lei-import-http.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/lei-import-http.t b/t/lei-import-http.t index 35cbf369..6cb8a753 100644 --- a/t/lei-import-http.t +++ b/t/lei-import-http.t @@ -39,5 +39,10 @@ test_lei({ tmpdir => $tmpdir }, sub { $res = json_utf8->decode($lei_out); is($res->[0]->{'m'}, '20180720072141.GA15957@example', 'imported search result') or diag explain($res); + + ok(!lei(qw(import --mail-sync), "$url/x\@example.com/raw"), + '--mail-sync fails on HTTP'); + diag $lei_err; + }); done_testing; |