mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 10:54:49 +01:00
Do MOCK_METHOD TODO (#1114)
This commit is contained in:
@@ -13,8 +13,8 @@ namespace Carbon::Testing {
|
||||
|
||||
class MockDiagnosticConsumer : public DiagnosticConsumer {
|
||||
public:
|
||||
// TODO: Use `MOCK_METHOD` once it's available.
|
||||
MOCK_METHOD1(HandleDiagnostic, void(const Diagnostic& diagnostic));
|
||||
MOCK_METHOD(void, HandleDiagnostic, (const Diagnostic& diagnostic),
|
||||
(override));
|
||||
};
|
||||
|
||||
// Matcher `DiagnosticAt` matches the location of a diagnostic.
|
||||
|
||||
Reference in New Issue
Block a user