From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id F29A81F44D; Fri, 12 Apr 2024 09:50:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1712915410; bh=HIuqcdIjqSCcrW5/5x5gfLThCecv6nxCeqRhrKhnBcs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=U0e7EpER8ysitJz+YboGl1qVZavN4kPh5hjVJPhpcI9SNY1nFZfpBhMr1q6e9st0R Q1cQea9LTnQgN9h7DCqXJOWZrRd7e5eKq7+a6L8gI78OvJwkOTKZgC+TEWT3dtcHaC t4BOzH0ufJo/2QGI7/85MbM5zAeZFA1z1QP3saRs= Date: Fri, 12 Apr 2024 09:43:10 +0000 From: Eric Wong To: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= Cc: meta@public-inbox.org Subject: Re: [PATCH] lei q: support --thread-id=$MSGID || -T $MSGID Message-ID: <20240412094310.M932036@dcvr> References: <20240412020103.2665237-1-e@80x24.org> <20240412100343+0200.638465-stepnem@smrk.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240412100343+0200.638465-stepnem@smrk.net> List-Id: Štěpán Němec wrote: > Eric Wong wrote: > > + is $lei_out, '', 'no results on unlrelated thread'; > ^ > s/unlrelated/unrelated/ Thanks, squashed: diff --git a/t/psgi_v2.t b/t/psgi_v2.t index 56a6ae8e..d5c328f0 100644 --- a/t/psgi_v2.t +++ b/t/psgi_v2.t @@ -105,7 +105,7 @@ my $test_lei_q_threadid = sub { my ($u) = @_; test_lei(sub { lei_ok qw(q -f text --only), $u, qw(-T t@1 s:unrelated); - is $lei_out, '', 'no results on unlrelated thread'; + is $lei_out, '', 'no results on unrelated thread'; lei_ok qw(q -f text --only), $u, qw(-T t@1 dt:19931002000300..); my @m = ($lei_out =~ m!^Message-ID: <([^>]+)>\n!gms); is_deeply \@m, ['t@3'], 'got expected result from -T MSGID'; And pushed as commit 873066744d1b105da4cfafb1c7312ca11b579864