From b0f2721d3ca4dfe59b74863da8433564c22b14c2 Mon Sep 17 00:00:00 2001 From: Kyuuhachi Date: Thu, 23 Nov 2023 13:15:53 +0100 Subject: [PATCH] Remove redundant tests Issues in those parts will likely be caught by other parts of the test suite. --- tests/rustdoc/issue-118180-empty-tuple-struct.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/tests/rustdoc/issue-118180-empty-tuple-struct.rs b/tests/rustdoc/issue-118180-empty-tuple-struct.rs index c530eeaefcbc9..bc6ddbe5defad 100644 --- a/tests/rustdoc/issue-118180-empty-tuple-struct.rs +++ b/tests/rustdoc/issue-118180-empty-tuple-struct.rs @@ -2,18 +2,8 @@ pub enum Enum { // @has - '//*[@id="variant.Empty"]//h3' 'Empty()' Empty(), - // @has - '//*[@id="variant.Hidden"]//h3' 'Hidden(/* private fields */)' - Hidden(#[doc(hidden)] u8), } // @has issue_118180_empty_tuple_struct/struct.Empty.html // @has - '//pre/code' 'Empty()' pub struct Empty(); - -// @has issue_118180_empty_tuple_struct/struct.Hidden.html -// @has - '//pre/code' 'Hidden(/* private fields */)' -pub struct Hidden(#[doc(hidden)] pub u8); - -// @has issue_118180_empty_tuple_struct/struct.Private.html -// @has - '//pre/code' 'Private(/* private fields */)' -pub struct Private(());