Skip to content

Commit

Permalink
Fix up mocks.
Browse files Browse the repository at this point in the history
  • Loading branch information
zygoloid committed Sep 23, 2024
1 parent 4f1502d commit a99ef51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions toolchain/diagnostics/mocks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ void PrintTo(const Diagnostic& diagnostic, std::ostream* os) {

void PrintTo(DiagnosticLevel level, std::ostream* os) {
switch (level) {
case DiagnosticLevel::Context:
*os << "Context";
case DiagnosticLevel::LocationInfo:
*os << "LocationInfo";
break;
case DiagnosticLevel::Note:
*os << "Note";
Expand Down

0 comments on commit a99ef51

Please sign in to comment.