test/testautovariables.cpp: renamed some testcases.

Make it readable.

No functional change.
This commit is contained in:
Slava Semushin 2009-07-28 00:36:56 +07:00
parent 82ae0e305b
commit 37fe631639
1 changed files with 4 additions and 4 deletions

View File

@ -62,8 +62,8 @@ private:
void run()
{
TEST_CASE(testautovar);
TEST_CASE(testautovararray);
TEST_CASE(testautovarreturn);
TEST_CASE(testautovar_array);
TEST_CASE(testautovar_return);
TEST_CASE(testautovar_extern);
TEST_CASE(returnLocalVariable1);
@ -88,7 +88,7 @@ private:
ASSERT_EQUALS("", errout.str());
}
void testautovararray()
void testautovar_array()
{
check("void func1(int* arr[2])\n"
"{\n"
@ -97,7 +97,7 @@ private:
ASSERT_EQUALS("[test.cpp:3]: (error) Wrong assignement of an auto-variable to an effective parameter of a function\n", errout.str());
}
void testautovarreturn()
void testautovar_return()
{
check("int* func1()\n"
"{\n"