diff options
author | Giuliano Procida <gprocida@google.com> | 2023-12-21 10:32:09 +0000 |
---|---|---|
committer | Giuliano Procida <gprocida@google.com> | 2023-12-28 17:03:29 +0000 |
commit | 0b672c187f86da91958e783c8d0695c2b4dba0a1 (patch) | |
tree | 2001d6b769d02aa98c3cbe44fbdab3cdb58d6639 | |
parent | 4428992290c25a2e4c426c45661b55b914c56c2a (diff) | |
download | stg-0b672c187f86da91958e783c8d0695c2b4dba0a1.tar.gz |
metrics test: make metrics object const in empty test
PiperOrigin-RevId: 592801113
Change-Id: I3e886d1d3d6f0863ea93ab51b52b9dc8275693ed
-rw-r--r-- | metrics_test.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/metrics_test.cc b/metrics_test.cc index e6dd257..5fdf2c5 100644 --- a/metrics_test.cc +++ b/metrics_test.cc @@ -30,7 +30,7 @@ namespace Test { TEST_CASE("empty") { - stg::Metrics metrics; + const stg::Metrics metrics; std::ostringstream os; stg::Report(metrics, os); CHECK(os.str().empty()); |