diff --git a/quantinuum-hugr/src/hugr/views/tests.rs b/quantinuum-hugr/src/hugr/views/tests.rs index 9754000e4..e59b92079 100644 --- a/quantinuum-hugr/src/hugr/views/tests.rs +++ b/quantinuum-hugr/src/hugr/views/tests.rs @@ -65,11 +65,11 @@ fn node_connections( /// /// The first parameter `test_name` is required due to insta and rstest limitations. /// See https://github.com/la10736/rstest/issues/183 -#[cfg_attr(miri, ignore)] // Opening files is not supported in (isolated) miri #[rstest] #[case::dfg("dot_dfg", sample_hugr().0)] #[case::cfg("dot_cfg", crate::builder::test::simple_cfg_hugr())] #[case::empty_dfg("dot_empty_dfg", crate::builder::test::simple_dfg_hugr())] +#[cfg_attr(miri, ignore)] // Opening files is not supported in (isolated) miri fn dot_string(#[case] test_name: &str, #[case] h: Hugr) { insta::assert_yaml_snapshot!(test_name, h.dot_string()); } @@ -78,11 +78,11 @@ fn dot_string(#[case] test_name: &str, #[case] h: Hugr) { /// /// The first parameter `test_name` is required due to insta and rstest limitations. /// See https://github.com/la10736/rstest/issues/183 -#[cfg_attr(miri, ignore)] // Opening files is not supported in (isolated) miri #[rstest] #[case::dfg("mmd_dfg", sample_hugr().0)] #[case::cfg("mmd_cfg", crate::builder::test::simple_cfg_hugr())] #[case::empty_dfg("mmd_empty_dfg", crate::builder::test::simple_dfg_hugr())] +#[cfg_attr(miri, ignore)] // Opening files is not supported in (isolated) miri fn mermaid_string(#[case] test_name: &str, #[case] h: Hugr) { insta::assert_snapshot!(test_name, h.mermaid_string()); }