From 270d3d286d8d8ce2956dac9a8fb009f62718a66c Mon Sep 17 00:00:00 2001 From: Marek Kubica Date: Wed, 1 Jul 2026 10:38:03 +0200 Subject: [PATCH] Use `grep` CLI in a portable way --- test/frontmatter/toc_order.t/run.t | 2 +- test/roots_and_hierarchy/sidebar.t/run.t | 4 ++-- test/roots_and_hierarchy/sidebar_with_indexes.t/run.t | 2 +- test/sources/functor.t/run.t | 6 +++--- test/sources/include_in_expansion.t/run.t | 2 +- test/sources/recursive_module.t/run.t | 4 ++-- test/sources/source.t/run.t | 2 +- test/xref2/github_issue_342.t/run.t | 4 ++-- test/xref2/github_issue_932.t/run.t | 2 +- test/xref2/label_reference_text.t/run.t | 2 +- test/xref2/reference_to_polymorphic.t/run.t | 2 +- 11 files changed, 16 insertions(+), 16 deletions(-) diff --git a/test/frontmatter/toc_order.t/run.t b/test/frontmatter/toc_order.t/run.t index 4d66f17d08..38d46d05aa 100644 --- a/test/frontmatter/toc_order.t/run.t +++ b/test/frontmatter/toc_order.t/run.t @@ -70,7 +70,7 @@ Omitted has been added in the children of index, after the ones that were ordere Typo is in the children field of index, but does not exist. It is omitted to, but this should be a warning! - $ cat _html/pkg/index.html | grep odoc-global-toc -A 11 + $ cat _html/pkg/index.html | grep -A11 odoc-global-toc