summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-07-10 02:05:56 +0200
committerCarl Hetherington <cth@carlh.net>2021-07-10 02:05:56 +0200
commitf9c3bb397743e2556b55f8f6433aec8e731a81e8 (patch)
tree261ef68758b7c208577fa442df431ca2c9d1e9ba /test
parent8115d0f378b4c52a2ffca86ef8cfd949e9272d87 (diff)
Use dcp::compose rather than our own.compose
Diffstat (limited to 'test')
-rw-r--r--test/test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.cc b/test/test.cc
index bc2acda..d4075ed 100644
--- a/test/test.cc
+++ b/test/test.cc
@@ -20,7 +20,7 @@
#define BOOST_TEST_DYN_LINK
#define BOOST_TEST_MODULE libsub_test
#include "iso6937_tables.h"
-#include "compose.hpp"
+#include <dcp/compose.h>
#include <boost/test/unit_test.hpp>
#include <boost/filesystem.hpp>
#include <fstream>
@@ -106,7 +106,7 @@ check_file (boost::filesystem::path ref, boost::filesystem::path check)
BOOST_CHECK_EQUAL (r, this_time);
for (uintmax_t i = 0; i < this_time; ++i) {
- string const s = String::compose (
+ string const s = dcp::compose (
"Files differ at offset %1; reference is %2, check is %3", (offset + i), ((int) ref_buffer[i]), ((int) check_buffer[i])
);
BOOST_CHECK_MESSAGE (ref_buffer[i] == check_buffer[i], s);