From bdea6bd152d110a174b5e236bfa7294ec97eea13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 7 Dec 2008 17:28:26 +0000 Subject: [PATCH] tokenizer : The token "a" shouldn't match the pattern "abc|def", added assertion to a test but it's currently commented because it fails --- testtokenize.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/testtokenize.cpp b/testtokenize.cpp index c63ca9a51..2b2793186 100644 --- a/testtokenize.cpp +++ b/testtokenize.cpp @@ -229,6 +229,7 @@ private: ASSERT_EQUALS( -1, TOKEN::multiCompare( "one|two", "notfound" ) ); ASSERT_EQUALS( -1, TOKEN::multiCompare( "verybig|two", "s" ) ); ASSERT_EQUALS( -1, TOKEN::multiCompare( "one|two", "ne" ) ); + // TODO ASSERT_EQUALS( -1, TOKEN::multiCompare( "abc|def", "a" ) ); } void match1()