diff options
author | Dino Radakovic <dinor@google.com> | 2024-05-10 07:18:19 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-05-10 07:19:22 -0700 |
commit | 99bb2f6f106db314fc93fdda3bdeed4005584887 (patch) | |
tree | b5d956646b82668d8d894f2fea8baa3b52d2df11 /absl/debugging/internal/demangle_rust_test.cc | |
parent | 1f6c241cb62eec9450895450aafae8fe2c265c3d (diff) | |
download | abseil-99bb2f6f106db314fc93fdda3bdeed4005584887.tar.gz abseil-99bb2f6f106db314fc93fdda3bdeed4005584887.tar.bz2 abseil-99bb2f6f106db314fc93fdda3bdeed4005584887.zip |
`convert_test`: Delete obsolete condition around ASSERT_EQ in TestWithMultipleFormatsHelper
The `if (actual != expected)` makes the `ASSERT_EQ(actual, expected)` trigger only when the assertion fails. However, a successful `ASSERT_EQ` takes a negligible amount of time, which means the `if` is useless and only makes the test harder to read.
PiperOrigin-RevId: 632487285
Change-Id: I1f78136cf4895295c88a5ff3e0bcdce6b08c1d0b
Diffstat (limited to 'absl/debugging/internal/demangle_rust_test.cc')
0 files changed, 0 insertions, 0 deletions