Minor change to test case

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@431716 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Brian McCallister 2006-08-15 21:57:06 +00:00
parent 7d4cddd452
commit 85df0e62d7
1 changed files with 1 additions and 2 deletions

View File

@ -333,8 +333,7 @@ public class StompTest extends CombinationTestSupport {
assertTrue(cl_matcher.find()); assertTrue(cl_matcher.find());
assertEquals("5", cl_matcher.group(1)); assertEquals("5", cl_matcher.group(1));
Pattern null_type_pattern = Pattern.compile("type:\\s*null", Pattern.CASE_INSENSITIVE); assertFalse(Pattern.compile("type:\\s*null", Pattern.CASE_INSENSITIVE).matcher(frame).find());
assertFalse(null_type_pattern.matcher(frame).find());
frame = frame =
"DISCONNECT\n" + "DISCONNECT\n" +