Astyle running and added test cases for functions in std.cfg.

This commit is contained in:
Martin Ettl 2014-03-10 02:21:44 +01:00
parent 26af1a232a
commit 80b1271d01
2 changed files with 13 additions and 4 deletions

View File

@ -2409,6 +2409,15 @@ private:
check("void f(char*p,char*q){ strcpy (p,q);if(!p||!q){}}");
ASSERT_EQUALS(errpq,errout.str());
check("void f(char*p,char*q){ strspn (p,q);if(!p||!q){}}");
ASSERT_EQUALS(errpq,errout.str());
check("void f(char*p,char*q){ strcspn (p,q);if(!p||!q){}}");
ASSERT_EQUALS(errpq,errout.str());
check("void f(char*p,char*q){ strcoll (p,q);if(!p||!q){}}");
ASSERT_EQUALS(errpq,errout.str());
check("void f(char*p,char*q){ strcat (p,q);if(!p||!q){}}");
ASSERT_EQUALS(errpq,errout.str());