user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [PATCH 6/7] t/git: avoid "once" warning for async_warn
  2021-10-13 10:16  5% ` [PATCH 0/7] workaround Encode leak, several test fixes Eric Wong
@ 2021-10-13 10:16  7%   ` Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2021-10-13 10:16 UTC (permalink / raw)
  To: meta

No point in testing use_ok when we have no outside dependencies
nor exports in this case.
---
 t/git.t | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/t/git.t b/t/git.t
index 8a020211..fa541f41 100644
--- a/t/git.t
+++ b/t/git.t
@@ -6,8 +6,7 @@ use PublicInbox::TestCommon;
 my ($dir, $for_destroy) = tmpdir();
 use PublicInbox::Import;
 use POSIX qw(strftime);
-
-use_ok 'PublicInbox::Git';
+use PublicInbox::Git;
 
 {
 	PublicInbox::Import::init_bare($dir);

^ permalink raw reply related	[relevance 7%]

* [PATCH 0/7] workaround Encode leak, several test fixes
  @ 2021-10-13 10:16  5% ` Eric Wong
  2021-10-13 10:16  7%   ` [PATCH 6/7] t/git: avoid "once" warning for async_warn Eric Wong
  0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2021-10-13 10:16 UTC (permalink / raw)
  To: meta

Eric Wong (7):
  xt/perf-msgview: drop unnecessary use_ok
  test_common: hoist out tail_f sub
  t/www_listing: require opt-in for grokmirror tests
  eml: avoid Encode 2.87..3.12 leak
  t/lei-mirror: avoid reading ~/.public-inbox/config in test
  t/git: avoid "once" warning for async_warn
  t/nntpd-tls: change diag() to like() assertion

 lib/PublicInbox/Eml.pm        | 25 +++++++++-----
 lib/PublicInbox/TestCommon.pm | 63 ++++++++++++++++++++---------------
 t/git.t                       |  3 +-
 t/lei-mirror.t                |  1 +
 t/nntpd-tls.t                 |  3 +-
 t/www_listing.t               | 20 +++++++----
 xt/perf-msgview.t             |  1 -
 7 files changed, 70 insertions(+), 46 deletions(-)

^ permalink raw reply	[relevance 5%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2021-10-12 10:59     Encode.pm leak in v2.87..v3.12 Eric Wong
2021-10-13 10:16  5% ` [PATCH 0/7] workaround Encode leak, several test fixes Eric Wong
2021-10-13 10:16  7%   ` [PATCH 6/7] t/git: avoid "once" warning for async_warn Eric Wong

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).