diff options
author | Eric Wong <e@80x24.org> | 2019-10-03 07:21:57 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-10-05 06:53:57 +0000 |
commit | 0069d1b85c45fd757e401cd018099c69b3ba9f24 (patch) | |
tree | b3b299629522297c97e3eee24edc2c76987c46ab /t/init.t | |
parent | 845d45f8b1c33a4b5fb559101ca53238b4dfc1aa (diff) | |
download | public-inbox-0069d1b85c45fd757e401cd018099c69b3ba9f24.tar.gz |
Since I intend to add support for --skip-artnum, disambiguating the long option name makes sense. We'll support --skip indefinitely for compatibility.
Diffstat (limited to 't/init.t')
-rw-r--r-- | t/init.t | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -86,15 +86,15 @@ SKIP: { for (1..2) { @cmd = (pi_init, '-V2', '-S1', 'skip1', "$tmpdir/skip1", qw(http://example.com/skip1 skip1@example.com)); - is(system(@cmd), 0, "--skip 1"); + is(system(@cmd), 0, "--skip-epoch 1"); my $gits = [ glob("$tmpdir/skip1/git/*.git") ]; is_deeply($gits, ["$tmpdir/skip1/git/1.git"], 'skip OK'); } - @cmd = (pi_init, '-V2', '--skip=2', 'skip2', "$tmpdir/skip2", + @cmd = (pi_init, '-V2', '--skip-epoch=2', 'skip2', "$tmpdir/skip2", qw(http://example.com/skip2 skip2@example.com)); - is(system(@cmd), 0, "--skip 2"); + is(system(@cmd), 0, "--skip-epoch 2"); my $gits = [ glob("$tmpdir/skip2/git/*.git") ]; is_deeply($gits, ["$tmpdir/skip2/git/2.git"], 'skipping 2 works, too'); } |