mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 21:10:12 +01:00
Fix a protected data member in a test. (#4717)
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -30,7 +30,7 @@ using ::testing::Pair;
|
||||
namespace Yaml = ::Carbon::Testing::Yaml;
|
||||
|
||||
class TreeTest : public ::testing::Test {
|
||||
protected:
|
||||
public:
|
||||
Testing::CompileHelper compile_helper_;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user