summaryrefslogtreecommitdiff
path: root/src/crypto/err/err_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/err/err_test.cc')
-rw-r--r--src/crypto/err/err_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crypto/err/err_test.cc b/src/crypto/err/err_test.cc
index 8e820b85..5d04ae2a 100644
--- a/src/crypto/err/err_test.cc
+++ b/src/crypto/err/err_test.cc
@@ -30,9 +30,9 @@ TEST(ErrTest, Overflow) {
for (unsigned i = 0; i < ERR_NUM_ERRORS - 1; i++) {
SCOPED_TRACE(i);
uint32_t err = ERR_get_error();
- /* Errors are returned in order they were pushed, with the least recent ones
- * removed, up to |ERR_NUM_ERRORS - 1| errors. So the errors returned are
- * |ERR_NUM_ERRORS + 2| through |ERR_NUM_ERRORS * 2|, inclusive. */
+ // Errors are returned in order they were pushed, with the least recent ones
+ // removed, up to |ERR_NUM_ERRORS - 1| errors. So the errors returned are
+ // |ERR_NUM_ERRORS + 2| through |ERR_NUM_ERRORS * 2|, inclusive.
EXPECT_NE(0u, err);
EXPECT_EQ(static_cast<int>(i + ERR_NUM_ERRORS + 2), ERR_GET_REASON(err));
}