From: Kyle Meyer <kyle@kyleam.com>
To: meta@public-inbox.org
Cc: Kyle Meyer <kyle@kyleam.com>
Subject: [PATCH] t/v*-add-remove-add: fix typo in description of 'removed' check
Date: Sun, 19 Apr 2020 15:27:08 -0400 [thread overview]
Message-ID: <20200419192708.31188-1-kyle@kyleam.com> (raw)
---
t/v1-add-remove-add.t | 2 +-
t/v2-add-remove-add.t | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/t/v1-add-remove-add.t b/t/v1-add-remove-add.t
index 2867bb94..736e414e 100644
--- a/t/v1-add-remove-add.t
+++ b/t/v1-add-remove-add.t
@@ -28,7 +28,7 @@ my $mime = PublicInbox::MIME->create(
);
my $im = PublicInbox::Import->new($ibx->git, undef, undef, $ibx);
ok($im->add($mime), 'message added');
-ok($im->remove($mime), 'message added');
+ok($im->remove($mime), 'message removed');
ok($im->add($mime), 'message added again');
$im->done;
my $rw = PublicInbox::SearchIdx->new($ibx, 1);
diff --git a/t/v2-add-remove-add.t b/t/v2-add-remove-add.t
index c427de6e..328f5326 100644
--- a/t/v2-add-remove-add.t
+++ b/t/v2-add-remove-add.t
@@ -29,7 +29,7 @@ my $mime = PublicInbox::MIME->create(
my $im = PublicInbox::V2Writable->new($ibx, 1);
$im->{parallel} = 0;
ok($im->add($mime), 'message added');
-ok($im->remove($mime), 'message added');
+ok($im->remove($mime), 'message removed');
ok($im->add($mime), 'message added again');
$im->done;
my $msgs = $ibx->recent({limit => 1000});
base-commit: 813163687e2211b6c64c54dc99d92780b9c408fd
--
2.26.0
next reply other threads:[~2020-04-19 19:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-19 19:27 Kyle Meyer [this message]
2020-04-19 21:14 ` [PATCH] t/v*-add-remove-add: fix typo in description of 'removed' check Eric Wong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://public-inbox.org/README
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200419192708.31188-1-kyle@kyleam.com \
--to=kyle@kyleam.com \
--cc=meta@public-inbox.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).