Lucene.Net.Index.TestWordlistLoader.TestComments C# (CSharp) Method

TestComments() private method

private TestComments ( ) : void
return void
		public virtual void  TestComments()
		{
			System.String s = "ONE\n  two \nthree\n#comment";
			var wordSet1 = WordlistLoader.GetWordSet(new System.IO.StringReader(s), "#");
			CheckSet(wordSet1);
			Assert.IsFalse(wordSet1.Contains("#comment"));
			Assert.IsFalse(wordSet1.Contains("comment"));
		}