test/helpers.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9a4626ae0d458d4dd274a25e384d97415f73e3e9
Author: Miklos Vajna <[email protected]>
AuthorDate: Mon Aug 27 09:10:01 2018 +0200
Commit: Miklos Vajna <[email protected]>
CommitDate: Mon Aug 27 09:10:10 2018 +0200
test: no need to copy testname
diff --git a/test/helpers.hpp b/test/helpers.hpp
index 54c37a8ce..13b351762 100644
--- a/test/helpers.hpp
+++ b/test/helpers.hpp
@@ -327,7 +327,7 @@ std::string assertResponseString(T& ws, const std::string&
prefix, const std::st
/// Assert that we don't get a response with the given prefix.
template <typename T>
-std::string assertNotInResponse(T& ws, const std::string& prefix, const
std::string testname)
+std::string assertNotInResponse(T& ws, const std::string& prefix, const
std::string& testname)
{
const auto res = getResponseString(ws, prefix, testname, 1000);
CPPUNIT_ASSERT_MESSAGE(testname + "Did not expect getting message [" + res
+ "].", res.empty());
_______________________________________________
Libreoffice-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits