Skip to content

Commit

Permalink
public: tests: remove Q_colorstr tests
Browse files Browse the repository at this point in the history
  • Loading branch information
a1batross committed Jan 18, 2025
1 parent 3e93aa4 commit 870fad5
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions public/tests/test_strings.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,17 +46,6 @@ static int Test_Strnlwr( void )
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 )
{
string s = "path\\with\\back\\slashes";
Expand Down Expand Up @@ -93,11 +82,6 @@ int main( void )
if( ret > 0 )
return ret + 16;

ret = Test_Colorstr();

if( ret > 0 )
return ret + 32;

ret = Test_FixSlashes();

if( ret > 0 )
Expand Down

0 comments on commit 870fad5

Please sign in to comment.