From c90084ee0087418503919f718995e3b86919082e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Mon, 3 Nov 2008 19:39:09 +0000 Subject: [PATCH] testpreprocessor: updated the testing for multiline preprocessor statements --- testpreprocessor.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/testpreprocessor.cpp b/testpreprocessor.cpp index ea7097bb1..46ddecb44 100644 --- a/testpreprocessor.cpp +++ b/testpreprocessor.cpp @@ -399,10 +399,11 @@ private: void multiline() { const char filedata[] = "#define str \"abc\" \\ \n" - " \"def\"\n"; + " \"def\" \\ \n" + " \"ghi\" \n"; std::map expected; - expected[""] = "#define str \"abc\" \"def\"\n\n"; + expected[""] = "#define str \"abc\" \"def\" \"ghi\"\n\n\n"; // Preprocess => actual result.. std::istringstream istr(filedata);