Skip to content

Commit

Permalink
Revert "Test using namespace foo"
Browse files Browse the repository at this point in the history
This was the wrong test to commit.

This reverts commit b583344.
  • Loading branch information
danakj committed Sep 13, 2023
1 parent 225e688 commit e1ccd77
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions subdoc/tests/records_unittest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -149,16 +149,3 @@ TEST_F(SubDocTest, ReplaceDocSelf) {
EXPECT_TRUE(has_dtor_comment(db, "6:7", "<p>Comment headline S 3.</p>"));
EXPECT_TRUE(has_method_comment(db, "8:7", "<p>Comment headline S 4.</p>"));
}

TEST_F(SubDocTest, AnonStruct) {
auto result = run_code(R"(
/// Comment headline one
typedef struct {} S;
/// Comment headline two
typedef struct {} T;
)");
ASSERT_TRUE(result.is_ok());
subdoc::Database db = sus::move(result).unwrap();
EXPECT_TRUE(has_record_comment(db, "2:5", "<p>Comment headline one</p>"));
EXPECT_TRUE(has_record_comment(db, "4:5", "<p>Comment headline two</p>"));
}

0 comments on commit e1ccd77

Please sign in to comment.