Removed old test case for missing includes. There is better testing in TestPreprocessor::def_missingInclude
This commit is contained in:
parent
4fe3f8f080
commit
8950b4bd72
|
@ -2930,14 +2930,6 @@ private:
|
||||||
ASSERT_EQUALS(actual1 + "#undef X\n" + actual1, actual);
|
ASSERT_EQUALS(actual1 + "#undef X\n" + actual1, actual);
|
||||||
}
|
}
|
||||||
|
|
||||||
// missing include
|
|
||||||
{
|
|
||||||
errout.str("");
|
|
||||||
const std::string code("#include \"missing.h\"");
|
|
||||||
const std::string actual(preprocessor.handleIncludes(code,filePath,includePaths,defs));
|
|
||||||
ASSERT_EQUALS("[test.c:1]: (information) Include file: \"missing.h\" not found.\n", errout.str());
|
|
||||||
}
|
|
||||||
|
|
||||||
// #error
|
// #error
|
||||||
{
|
{
|
||||||
errout.str("");
|
errout.str("");
|
||||||
|
|
Loading…
Reference in New Issue