diff options
author | Greg Falcon <gfalcon@google.com> | 2023-06-05 14:27:37 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-06-05 14:28:21 -0700 |
commit | 66406fdf1553de6ad672576167e7cc7ca2d764cb (patch) | |
tree | 086ef19347c945aa8115a8a4279d00427eda3791 /absl/strings/CMakeLists.txt | |
parent | 7a74153a05aa8bacb8cb9ae3fa707e5407adc2c9 (diff) |
Add a unit test that captures the current behavior of formatting of char types and char-backed enum types through StrCat(), StrFormat("%v"), and Substitute().
This test allows us to modify the behavior in this space without introducing undesired changes elsewhere.
PiperOrigin-RevId: 537981963
Change-Id: Icda91b66efcc0dc8c263011b137e130a3db2dc19
Diffstat (limited to 'absl/strings/CMakeLists.txt')
-rw-r--r-- | absl/strings/CMakeLists.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/absl/strings/CMakeLists.txt b/absl/strings/CMakeLists.txt index 9aaa7932..2ad052a3 100644 --- a/absl/strings/CMakeLists.txt +++ b/absl/strings/CMakeLists.txt @@ -548,6 +548,20 @@ absl_cc_test( GTest::gmock_main ) +absl_cc_test( + NAME + char_formatting_test + SRCS + "char_formatting_test.cc" + COPTS + ${ABSL_TEST_COPTS} + DEPS + absl::base + absl::str_format + absl::strings + GTest::gmock_main +) + # Internal-only target, do not depend on directly. absl_cc_library( NAME |