Merge pull request #4322 from pgawro:ansi_colors

PiperOrigin-RevId: 558224853
Change-Id: Ib2d8ad41fcc4d38f58aa5702b537467d8867d82e
diff --git a/googletest/src/gtest.cc b/googletest/src/gtest.cc
index 30a5cc3..66a315e 100644
--- a/googletest/src/gtest.cc
+++ b/googletest/src/gtest.cc
@@ -3228,7 +3228,8 @@
     case GTestColor::kYellow:
       return "3";
     default:
-      return nullptr;
+      assert(false);
+      return "9";
   }
 }