diff --git a/Framework/test/testCcdbDatabase.cxx b/Framework/test/testCcdbDatabase.cxx index b716b99b4a..c1b9c75dc1 100644 --- a/Framework/test/testCcdbDatabase.cxx +++ b/Framework/test/testCcdbDatabase.cxx @@ -295,7 +295,7 @@ void askObject(std::string objectPath) auto json = backendGlobal->retrieveJson(objectPath, -1, metadata); cout << "std::string::max_size(): " << std::string().max_size() << endl; cout << "json string size: " << json.size() << endl; - cout << "object " << json.substr(10) << endl; + cout << "object " << json.substr(0, 10) << endl; BOOST_CHECK(!json.empty()); cout << "finished " << endl; }