aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/matching/constant_value_repo/constant_value_repo_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchcore/src/tests/proton/matching/constant_value_repo/constant_value_repo_test.cpp')
-rw-r--r--searchcore/src/tests/proton/matching/constant_value_repo/constant_value_repo_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/matching/constant_value_repo/constant_value_repo_test.cpp b/searchcore/src/tests/proton/matching/constant_value_repo/constant_value_repo_test.cpp
index 312c5b6eaa1..1db8a2d93b3 100644
--- a/searchcore/src/tests/proton/matching/constant_value_repo/constant_value_repo_test.cpp
+++ b/searchcore/src/tests/proton/matching/constant_value_repo/constant_value_repo_test.cpp
@@ -63,7 +63,7 @@ struct Fixture {
TEST_F("require that constant value can be retrieved from repo", Fixture)
{
- EXPECT_EQUAL(3, f.repo.getConstant("foo")->value().as_double());
+ EXPECT_EQUAL(3.0, f.repo.getConstant("foo")->value().as_double());
}
TEST_F("require that non-existing constant value in repo returns nullptr", Fixture)