paulirwin commented on code in PR #1018: URL: https://github.com/apache/lucenenet/pull/1018#discussion_r1844027145
########## src/Lucene.Net.Tests/Analysis/TestReusableStringReader.cs: ########## @@ -30,42 +30,38 @@ public virtual void Test() { char[] buf = new char[4]; - using (ReusableStringReader reader = new ReusableStringReader()) - { - Assert.AreEqual(-1, reader.Read()); - Assert.AreEqual(-1, reader.Read(new char[1], 0, 1)); - Assert.AreEqual(-1, reader.Read(new char[2], 1, 1)); - //Assert.AreEqual(-1, reader.Read(CharBuffer.wrap(new char[2]))); + ReusableStringReader reader = new ReusableStringReader(); Review Comment: Created #1022, and marked ReusableStringReader as internal (push coming soon). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@lucenenet.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org