tokenizer : The token "a" shouldn't match the pattern "abc|def", added assertion to a test

but it's currently commented because it fails
This commit is contained in:
Daniel Marjamäki 2008-12-07 17:28:26 +00:00
parent a6b4cdb526
commit bdea6bd152
1 changed files with 1 additions and 0 deletions

View File

@ -229,6 +229,7 @@ private:
ASSERT_EQUALS( -1, TOKEN::multiCompare( "one|two", "notfound" ) ); ASSERT_EQUALS( -1, TOKEN::multiCompare( "one|two", "notfound" ) );
ASSERT_EQUALS( -1, TOKEN::multiCompare( "verybig|two", "s" ) ); ASSERT_EQUALS( -1, TOKEN::multiCompare( "verybig|two", "s" ) );
ASSERT_EQUALS( -1, TOKEN::multiCompare( "one|two", "ne" ) ); ASSERT_EQUALS( -1, TOKEN::multiCompare( "one|two", "ne" ) );
// TODO ASSERT_EQUALS( -1, TOKEN::multiCompare( "abc|def", "a" ) );
} }
void match1() void match1()