diff options
author | Eric Wong (Contractor, The Linux Foundation) <e@80x24.org> | 2018-03-19 08:14:53 +0000 |
---|---|---|
committer | Eric Wong (Contractor, The Linux Foundation) <e@80x24.org> | 2018-03-19 08:16:34 +0000 |
commit | 0514c910b0a33fe758cd92fd89fa79a3291bf5fc (patch) | |
tree | 8e8e8c070085c527329a56f1358788594e3bc373 /t/v2writable.t | |
parent | 82bd094dc2e2da6067fc089e37d538c171732e60 (diff) | |
download | public-inbox-0514c910b0a33fe758cd92fd89fa79a3291bf5fc.tar.gz |
v2writable: ensure ->done is idempotent
This matches Import::done behavior
Diffstat (limited to 't/v2writable.t')
-rw-r--r-- | t/v2writable.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/t/v2writable.t b/t/v2writable.t index 5245a84b..771e8c17 100644 --- a/t/v2writable.t +++ b/t/v2writable.t @@ -223,6 +223,8 @@ EOF $im->done; is($git0->qx(qw(log -1 --pretty=raw --raw -r --no-abbrev)), $after, 'no git history made with idempotent remove'); + eval { $im->done }; + ok(!$@, '->done is idempotent'); } done_testing(); |