From 74c34486c1be65d6488ab65a767fa27011232c22 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Wed, 3 Apr 2024 09:13:12 -0500 Subject: [PATCH] test: Allow variable whitespace --- crates/typos-cli/tests/cmd/ignore-line.in/_typos.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/typos-cli/tests/cmd/ignore-line.in/_typos.toml b/crates/typos-cli/tests/cmd/ignore-line.in/_typos.toml index 3a12b41..cf6307e 100644 --- a/crates/typos-cli/tests/cmd/ignore-line.in/_typos.toml +++ b/crates/typos-cli/tests/cmd/ignore-line.in/_typos.toml @@ -1,5 +1,5 @@ [default] -extend-ignore-re = ["(?Rm)^.*# spellchecker:disable-line$"] +extend-ignore-re = ["(?Rm)^.*#\\s*spellchecker:disable-line$"] [default.extend-identifiers] hello = "goodbye"