aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-11-17 22:28:21 -0500
committerJack Lloyd <[email protected]>2018-11-17 22:28:21 -0500
commit16e0107276bab92c6e17ab8c476ab7dbb8f48928 (patch)
tree3861b7d898e943778c2f994b3e6a3e7dc571e0b8
parentd61c12773d8185f95174c3ea710e6610f1428cb6 (diff)
Fix Sonar warning
-rw-r--r--src/tests/test_utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/test_utils.cpp b/src/tests/test_utils.cpp
index 933f8b1e4..b6eb4bbc7 100644
--- a/src/tests/test_utils.cpp
+++ b/src/tests/test_utils.cpp
@@ -820,7 +820,7 @@ class UUID_Tests : public Test
result.test_throws("Cannot load wrong number of bytes", []() { Botan::UUID u(std::vector<uint8_t>(15)); });
result.test_eq("Empty UUID is empty", empty_uuid.is_valid(), false);
- result.confirm("Empty UUID equals self", empty_uuid == empty_uuid);
+ result.confirm("Empty UUID equals another empty UUID", empty_uuid == Botan::UUID());
result.test_throws("Empty UUID cannot become a string", [&]() { empty_uuid.to_string(); });