diff --git a/src/Lucene.Net.TestFramework/Analysis/BaseTokenStreamTestCase.cs b/src/Lucene.Net.TestFramework/Analysis/BaseTokenStreamTestCase.cs index 050825893e..f1cebc58da 100644 --- a/src/Lucene.Net.TestFramework/Analysis/BaseTokenStreamTestCase.cs +++ b/src/Lucene.Net.TestFramework/Analysis/BaseTokenStreamTestCase.cs @@ -559,7 +559,7 @@ internal static void CheckResetException(Analyzer a, string input) try { ts = a.GetTokenStream("bogus", new StringReader(input)); - Assert.Fail("Didn't get expected exception when Dispose() not called"); + Assert.Fail("Didn't get expected exception when Close() not called"); } catch (Exception expected) when (expected.IsIllegalStateException()) {