testpreprocessor: updated the testing for multiline preprocessor statements
This commit is contained in:
parent
ab590ce675
commit
c90084ee00
|
@ -399,10 +399,11 @@ private:
|
||||||
void multiline()
|
void multiline()
|
||||||
{
|
{
|
||||||
const char filedata[] = "#define str \"abc\" \\ \n"
|
const char filedata[] = "#define str \"abc\" \\ \n"
|
||||||
" \"def\"\n";
|
" \"def\" \\ \n"
|
||||||
|
" \"ghi\" \n";
|
||||||
|
|
||||||
std::map<std::string, std::string> expected;
|
std::map<std::string, std::string> expected;
|
||||||
expected[""] = "#define str \"abc\" \"def\"\n\n";
|
expected[""] = "#define str \"abc\" \"def\" \"ghi\"\n\n\n";
|
||||||
|
|
||||||
// Preprocess => actual result..
|
// Preprocess => actual result..
|
||||||
std::istringstream istr(filedata);
|
std::istringstream istr(filedata);
|
||||||
|
|
Loading…
Reference in New Issue