From ccf2cc0a33ff0a30a6a6f2f04fae558f2a52ebb6 Mon Sep 17 00:00:00 2001 From: Seyon Sivarajah Date: Tue, 7 Nov 2023 17:31:21 +0000 Subject: [PATCH] Revert "Add `coverage-helper` to ignore validate tests in coverage" This reverts commit 017768e9efb9a67b8ccfbbdecce4343272dec5ae. --- Cargo.toml | 1 - src/hugr/validate/test.rs | 1 - src/lib.rs | 3 --- 3 files changed, 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fa0c6fd3d..1a6df4fd6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -62,7 +62,6 @@ webbrowser = "0.8.10" urlencoding = "2.1.2" cool_asserts = "2.0.3" paste = "1.0" -coverage-helper = "0.2.0" [[bench]] name = "bench_main" diff --git a/src/hugr/validate/test.rs b/src/hugr/validate/test.rs index 07cbc6a75..75c02d463 100644 --- a/src/hugr/validate/test.rs +++ b/src/hugr/validate/test.rs @@ -1,5 +1,4 @@ use cool_asserts::assert_matches; -use coverage_helper::test; use super::*; use crate::builder::test::closed_dfg_root_hugr; diff --git a/src/lib.rs b/src/lib.rs index eb8a354a9..80a7b8edd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -11,9 +11,6 @@ // Unstable check, may cause false positives. // https://github.com/rust-lang/rust-clippy/issues/5112 #![warn(clippy::debug_assert_with_mut_call)] -// https://crates.io/crates/coverage-helper to allow selectively ignoring tests -// in coverage. -#![cfg_attr(coverage_nightly, feature(coverage_attribute))] pub mod algorithm; pub mod builder;