From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 130701F8C2; Thu, 11 Feb 2021 01:09:50 +0000 (UTC) Date: Thu, 11 Feb 2021 00:09:49 -0100 From: Eric Wong To: meta@public-inbox.org Subject: [SQUASH 3/2] t/search.t: fix offset error Message-ID: <20210211010949.GA21407@dcvr> References: <20210210195759.11108-1-e@80x24.org> <20210210195759.11108-2-e@80x24.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210210195759.11108-2-e@80x24.org> List-Id: Oops :x --- t/search.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/search.t b/t/search.t index 77081231..effba1df 100644 --- a/t/search.t +++ b/t/search.t @@ -586,7 +586,7 @@ SKIP: { my $qs = qq[f:bob rt:1993-10-02..2010-10-02]; $s->query_approxidate($g, $qs); - like($qs, qr/\Af:bob rt:749\d{6}\.\.1286\d{6}\z/, + like($qs, qr/\Af:bob rt:749\d{6}\.\.128\d{7}\z/, 'no phrases, no problem'); my $orig = $qs = qq[f:bob "d:1993-10-02..2010-10-02"];