From 4c2e57224b0a110ec3fad40fc2975c9969b06e70 Mon Sep 17 00:00:00 2001 From: Boshen Date: Sun, 26 Feb 2023 00:00:04 +0800 Subject: [PATCH] ci: ignore miri for insta --- crates/oxc_linter/src/tester.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/oxc_linter/src/tester.rs b/crates/oxc_linter/src/tester.rs index 1821c4a6b..c4664d01a 100644 --- a/crates/oxc_linter/src/tester.rs +++ b/crates/oxc_linter/src/tester.rs @@ -50,6 +50,7 @@ impl Tester { } } + #[cfg_attr(miri, ignore)] // miri reported an error in insta fn snapshot(&self) { insta::with_settings!({ prepend_module_to_snapshot => false, }, { insta::assert_snapshot!(self.rule_name.clone(), self.snapshot, &self.rule_name);