Fix a protected data member in a test. (#4717)

This commit is contained in:
Richard Smith
2024-12-19 22:01:18 +00:00
committed by GitHub
parent a112cbde5c
commit de41a4b1b3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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 {
+1 -1
View File
@@ -30,7 +30,7 @@ using ::testing::Pair;
namespace Yaml = ::Carbon::Testing::Yaml;
class TreeTest : public ::testing::Test {
protected:
public:
Testing::CompileHelper compile_helper_;
};