Skip to content

Commit

Permalink
Fix assertion message
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirwin committed Dec 21, 2024
1 parent 8e622c1 commit 6b9b031
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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())
{
Expand Down

0 comments on commit 6b9b031

Please sign in to comment.