aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/utils/gtest-print-helpers.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/utils/gtest-print-helpers.h b/tests/utils/gtest-print-helpers.h
index 75ee13b..6dc1217 100644
--- a/tests/utils/gtest-print-helpers.h
+++ b/tests/utils/gtest-print-helpers.h
@@ -5,9 +5,9 @@
inline void PrintTo(const Greeter::State& state, std::ostream* os) {
switch(state) {
- case Greeter::State::ACTIVE: *os << "Active"; break;
- case Greeter::State::INACTIVE: *os << "Inactive"; break;
- default: *os << "Unavailable"; break;
+ case Greeter::State::ACTIVE: *os << "Active"; break;
+ case Greeter::State::INACTIVE: *os << "Inactive"; break;
+ case Greeter::State::UNAVAILABLE: *os << "Unavailable"; break;
}
}