From 98ce298586e66665c031d109b9b24d7d0653c415 Mon Sep 17 00:00:00 2001 From: Daniel Naber Date: Fri, 3 Sep 2004 21:16:28 +0000 Subject: [PATCH] replace tabs by spaces git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150482 13f79535-47bb-0310-9956-ffa450edef68 --- .../lucene/queryParser/TestQueryParser.java | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/src/test/org/apache/lucene/queryParser/TestQueryParser.java b/src/test/org/apache/lucene/queryParser/TestQueryParser.java index ec0a763033e..211c81899ed 100644 --- a/src/test/org/apache/lucene/queryParser/TestQueryParser.java +++ b/src/test/org/apache/lucene/queryParser/TestQueryParser.java @@ -343,36 +343,36 @@ public class TestQueryParser extends TestCase { //assertQueryEquals("foo \\|| bar", a, "foo \\|| bar"); //assertQueryEquals("foo \\AND bar", a, "foo \\AND bar"); - assertQueryEquals("a\\-b:c",a,"a\\-b:c"); - assertQueryEquals("a\\+b:c",a,"a\\+b:c"); - assertQueryEquals("a\\:b:c",a,"a\\:b:c"); - assertQueryEquals("a\\\\b:c",a,"a\\\\b:c"); + assertQueryEquals("a\\-b:c", a, "a\\-b:c"); + assertQueryEquals("a\\+b:c", a, "a\\+b:c"); + assertQueryEquals("a\\:b:c", a, "a\\:b:c"); + assertQueryEquals("a\\\\b:c", a, "a\\\\b:c"); - assertQueryEquals("a:b\\-c",a,"a:b\\-c"); - assertQueryEquals("a:b\\+c",a,"a:b\\+c"); - assertQueryEquals("a:b\\:c",a,"a:b\\:c"); - assertQueryEquals("a:b\\\\c",a,"a:b\\\\c"); + assertQueryEquals("a:b\\-c", a, "a:b\\-c"); + assertQueryEquals("a:b\\+c", a, "a:b\\+c"); + assertQueryEquals("a:b\\:c", a, "a:b\\:c"); + assertQueryEquals("a:b\\\\c", a, "a:b\\\\c"); - assertQueryEquals("a:b\\-c*",a,"a:b-c*"); - assertQueryEquals("a:b\\+c*",a,"a:b+c*"); - assertQueryEquals("a:b\\:c*",a,"a:b:c*"); - - assertQueryEquals("a:b\\\\c*",a,"a:b\\c*"); + assertQueryEquals("a:b\\-c*", a, "a:b-c*"); + assertQueryEquals("a:b\\+c*", a, "a:b+c*"); + assertQueryEquals("a:b\\:c*", a, "a:b:c*"); - assertQueryEquals("a:b\\-?c",a,"a:b-?c"); - assertQueryEquals("a:b\\+?c",a,"a:b+?c"); - assertQueryEquals("a:b\\:?c",a,"a:b:?c"); - - assertQueryEquals("a:b\\\\?c",a,"a:b\\\\\\?c"); + assertQueryEquals("a:b\\\\c*", a, "a:b\\c*"); - assertQueryEquals("a:b\\-c~",a,"a:b-c~"); - assertQueryEquals("a:b\\+c~",a,"a:b+c~"); - assertQueryEquals("a:b\\:c~",a,"a:b:c~"); - assertQueryEquals("a:b\\\\c~",a,"a:b\\c~"); + assertQueryEquals("a:b\\-?c", a, "a:b-?c"); + assertQueryEquals("a:b\\+?c", a, "a:b+?c"); + assertQueryEquals("a:b\\:?c", a, "a:b:?c"); - assertQueryEquals("[ a\\- TO a\\+ ]", null, "[a- TO a+]"); - assertQueryEquals("[ a\\: TO a\\~ ]", null, "[a: TO a~]"); - assertQueryEquals("[ a\\\\ TO a\\* ]", null, "[a\\ TO a*]"); + assertQueryEquals("a:b\\\\?c", a, "a:b\\\\\\?c"); + + assertQueryEquals("a:b\\-c~", a, "a:b-c~"); + assertQueryEquals("a:b\\+c~", a, "a:b+c~"); + assertQueryEquals("a:b\\:c~", a, "a:b:c~"); + assertQueryEquals("a:b\\\\c~", a, "a:b\\c~"); + + assertQueryEquals("[ a\\- TO a\\+ ]", null, "[a- TO a+]"); + assertQueryEquals("[ a\\: TO a\\~ ]", null, "[a: TO a~]"); + assertQueryEquals("[ a\\\\ TO a\\* ]", null, "[a\\ TO a*]"); } public void testTabNewlineCarriageReturn()