summaryrefslogtreecommitdiff
path: root/src/unittests/utils/stringutils.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/unittests/utils/stringutils.cc')
-rw-r--r--src/unittests/utils/stringutils.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unittests/utils/stringutils.cc b/src/unittests/utils/stringutils.cc
index ddb94ddd9..348be5d7d 100644
--- a/src/unittests/utils/stringutils.cc
+++ b/src/unittests/utils/stringutils.cc
@@ -141,7 +141,7 @@ TEST_CASE("stringuntils toString 1", "")
REQUIRE(strprintf("%d", 123) == toString(CAST_U8(123)));
REQUIRE(strprintf("%u", static_cast<uint32_t>(30000000)) == toString(
static_cast<uint32_t>(30000000)));
- REQUIRE(strprintf("%f", 3.1f) == toString(3.1f));
+ REQUIRE(strprintf("%f", 3.1F) == toString(3.1F));
REQUIRE(strprintf("%f", 3.1) == toString(3.1));
}