summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-08-10 18:14:30 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-08-10 18:14:30 +0100
commitee2e68f44f7b9ee099f98b668257b5d57a86a695 (patch)
treed7593729cdb2dcad097c7a801f0c39c8d59381c0 /test
parentTests, fixes, improvements to WritePqCopyStream (diff)
downloadmygrate-ee2e68f44f7b9ee099f98b668257b5d57a86a695.tar.bz2
mygrate-ee2e68f44f7b9ee099f98b668257b5d57a86a695.tar.xz
mygrate-ee2e68f44f7b9ee099f98b668257b5d57a86a695.zip
Enable numeric conversion warning and fix the fallout
Diffstat (limited to 'test')
-rw-r--r--test/test-postgresql.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test-postgresql.cpp b/test/test-postgresql.cpp
index 727e08c..dda05ca 100644
--- a/test/test-postgresql.cpp
+++ b/test/test-postgresql.cpp
@@ -134,7 +134,7 @@ using FloatTypes = boost::mpl::list<float, double>;
BOOST_AUTO_TEST_CASE_TEMPLATE(write_floats, T, FloatTypes)
{
MyGrate::Output::Pq::WritePqCopyStream c {s};
- c(T {1.1});
+ c(T {1.1F});
flush();
BOOST_REQUIRE(out);