Skip to content

Commit

Permalink
Fix a protected data member in a test. (#4717)
Browse files Browse the repository at this point in the history
  • Loading branch information
zygoloid authored Dec 19, 2024
1 parent a112cbd commit de41a4b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion toolchain/lex/numeric_literal_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ using ::testing::Truly;
using ::testing::VariantWith;

class NumericLiteralTest : public ::testing::Test {
protected:
public:
NumericLiteralTest() : error_tracker(ConsoleDiagnosticConsumer()) {}

auto Lex(llvm::StringRef text) -> NumericLiteral {
Expand Down
2 changes: 1 addition & 1 deletion toolchain/parse/tree_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ using ::testing::Pair;
namespace Yaml = ::Carbon::Testing::Yaml;

class TreeTest : public ::testing::Test {
protected:
public:
Testing::CompileHelper compile_helper_;
};

Expand Down

0 comments on commit de41a4b

Please sign in to comment.