public: tests: remove Q_colorstr tests
This commit is contained in:
parent
3e93aa459d
commit
870fad5606
1 changed files with 0 additions and 16 deletions
|
@ -46,17 +46,6 @@ static int Test_Strnlwr( void )
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int Test_Colorstr( void )
|
|
||||||
{
|
|
||||||
if( Q_colorstr( "^1color^2string" ) != 4 )
|
|
||||||
return 1;
|
|
||||||
|
|
||||||
if( Q_colorstr( "colorlessstring" ) != 0 )
|
|
||||||
return 2;
|
|
||||||
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
static int Test_FixSlashes( void )
|
static int Test_FixSlashes( void )
|
||||||
{
|
{
|
||||||
string s = "path\\with\\back\\slashes";
|
string s = "path\\with\\back\\slashes";
|
||||||
|
@ -93,11 +82,6 @@ int main( void )
|
||||||
if( ret > 0 )
|
if( ret > 0 )
|
||||||
return ret + 16;
|
return ret + 16;
|
||||||
|
|
||||||
ret = Test_Colorstr();
|
|
||||||
|
|
||||||
if( ret > 0 )
|
|
||||||
return ret + 32;
|
|
||||||
|
|
||||||
ret = Test_FixSlashes();
|
ret = Test_FixSlashes();
|
||||||
|
|
||||||
if( ret > 0 )
|
if( ret > 0 )
|
||||||
|
|
Loading…
Add table
Reference in a new issue