Skip to content

Commit 2e6cf7f

Browse files
hellow554phimuemue
authored andcommitted
fix duplicate_macro_attributes in tests
the #[test] macro is automatically applied to all functions inside of the `quickcheck!` macro, so this one was redundant
1 parent a016b87 commit 2e6cf7f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/quick.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1550,7 +1550,6 @@ quickcheck! {
15501550
}
15511551

15521552
quickcheck! {
1553-
#[test]
15541553
fn counts(nums: Vec<isize>) -> TestResult {
15551554
let counts = nums.iter().counts();
15561555
for (&item, &count) in counts.iter() {

0 commit comments

Comments
 (0)