Added back accidentially removed unit test
This commit is contained in:
parent
d3a567bf96
commit
6545bf7938
|
@ -1632,6 +1632,9 @@ private:
|
|||
testPassedByValue("void f(const std::map<std::string,int> v) {}");
|
||||
ASSERT_EQUALS("[test.cpp:1]: (performance) Function parameter 'v' should be passed by reference.\n", errout.str());
|
||||
|
||||
testPassedByValue("void f(const std::streamoff pos) {}");
|
||||
ASSERT_EQUALS("", errout.str());
|
||||
|
||||
// #5824
|
||||
testPassedByValue("void log(const std::string& file, int line, const std::string& function, const std::string str, ...) {}");
|
||||
ASSERT_EQUALS("", errout.str());
|
||||
|
|
Loading…
Reference in New Issue