Refactoring: Simple code cleanup
This commit is contained in:
parent
9bc8fb8eec
commit
acaa22ff6c
|
@ -66,7 +66,6 @@ private:
|
||||||
" if (f1())\n"
|
" if (f1())\n"
|
||||||
" { }\n"
|
" { }\n"
|
||||||
"}\n");
|
"}\n");
|
||||||
std::string err(errout.str());
|
|
||||||
ASSERT_EQUALS("", errout.str());
|
ASSERT_EQUALS("", errout.str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -76,7 +75,6 @@ private:
|
||||||
"{\n"
|
"{\n"
|
||||||
" return f1();\n"
|
" return f1();\n"
|
||||||
"}\n");
|
"}\n");
|
||||||
std::string err(errout.str());
|
|
||||||
ASSERT_EQUALS("", errout.str());
|
ASSERT_EQUALS("", errout.str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -95,7 +93,6 @@ private:
|
||||||
"{\n"
|
"{\n"
|
||||||
" void (*f)() = cond ? f1 : NULL;\n"
|
" void (*f)() = cond ? f1 : NULL;\n"
|
||||||
"}\n");
|
"}\n");
|
||||||
std::string err(errout.str());
|
|
||||||
ASSERT_EQUALS("", errout.str());
|
ASSERT_EQUALS("", errout.str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -106,7 +103,6 @@ private:
|
||||||
" if (cond) ;\n"
|
" if (cond) ;\n"
|
||||||
" else f1();\n"
|
" else f1();\n"
|
||||||
"}\n");
|
"}\n");
|
||||||
std::string err(errout.str());
|
|
||||||
ASSERT_EQUALS("", errout.str());
|
ASSERT_EQUALS("", errout.str());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue