pw_assert, pw_string, pw_trace_tokenized: Formatting
Fix formatting. Not sure why some things weren't caught in pwrev/32940.
Change-Id: I65f3e619aeb6f82681162412a99e46de298efe52
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/42920
Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com>
Reviewed-by: Keir Mierle <keir@google.com>
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
diff --git a/pw_assert/assert_facade_test.cc b/pw_assert/assert_facade_test.cc
index 088f725..bc481a2 100644
--- a/pw_assert/assert_facade_test.cc
+++ b/pw_assert/assert_facade_test.cc
@@ -416,7 +416,7 @@
EXPECT_EQ(global_state_for_multi_evaluate_test, 2);
}
-#else // PW_ASSERT_ENABLE_DEBUG
+#else // PW_ASSERT_ENABLE_DEBUG
// When DCHECKs are disabled, they should not trip, and their arguments
// shouldn't be evaluated.
@@ -495,7 +495,7 @@
TEST_F(AssertPass, DCheckEnum) { PW_DCHECK_OK(PW_STATUS_OK); }
TEST_F(AssertFail, DCheckFunction) { PW_DCHECK_OK(pw::Status::Unknown()); }
TEST_F(AssertFail, DCheckEnum) { PW_DCHECK_OK(PW_STATUS_UNKNOWN); }
-#else // PW_ASSERT_ENABLE_DEBUG
+#else // PW_ASSERT_ENABLE_DEBUG
// In release mode, all the asserts should pass.
TEST_F(AssertPass, DCheckFunction_Ok) { PW_DCHECK_OK(pw::OkStatus()); }
diff --git a/pw_string/size_report/format_single.cc b/pw_string/size_report/format_single.cc
index 6afee11..d3ea99a 100644
--- a/pw_string/size_report/format_single.cc
+++ b/pw_string/size_report/format_single.cc
@@ -49,7 +49,7 @@
get_buffer_2,
get_size)
.size();
-#else // std::snprintf
+#else // std::snprintf
if (buffer_size == 0u) {
return 0;
}
diff --git a/pw_trace_tokenized/public/pw_trace_tokenized/config.h b/pw_trace_tokenized/public/pw_trace_tokenized/config.h
index b957610..4167ace 100644
--- a/pw_trace_tokenized/public/pw_trace_tokenized/config.h
+++ b/pw_trace_tokenized/public/pw_trace_tokenized/config.h
@@ -102,7 +102,7 @@
// could not be aquired.
#ifndef PW_TRACE_TRY_LOCK
#define PW_TRACE_TRY_LOCK() (true) // Returns true if lock successful
-#endif // PW_TRACE_TRY_LOCK
+#endif // PW_TRACE_TRY_LOCK
#ifndef PW_TRACE_UNLOCK
#define PW_TRACE_UNLOCK()