From f9a12b2a7137293174170c4a2d60196139f22fbd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Thu, 7 Mar 2019 06:38:58 +0100 Subject: [PATCH] Fix small mistake in unit test --- test/testother.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testother.cpp b/test/testother.cpp index a10bc845c..125d99569 100644 --- a/test/testother.cpp +++ b/test/testother.cpp @@ -5305,7 +5305,7 @@ private: " char *a; a = new char[1024];\n" " delete[] (a + 10);\n" "}"); - ASSERT_EQUALS("[test.cpp:3]: (error) Mismatching address is deleted. The address you get from new must be deleted without offset..\n", errout.str()); + ASSERT_EQUALS("[test.cpp:3]: (error) Mismatching address is deleted. The address you get from new must be deleted without offset.\n", errout.str()); check("void foo(char *p) {\n" " char *a; a = new char;\n"