NightOwl888 commented on code in PR #1014: URL: https://github.com/apache/lucenenet/pull/1014#discussion_r1837028547
########## src/Lucene.Net.Tests/Index/TestBinaryDocValuesUpdates.cs: ########## @@ -1142,7 +1142,8 @@ public virtual void TestUpdateOldSegments() writer = new IndexWriter(dir, conf); writer.UpdateBinaryDocValue(new Term("id", "doc"), "f", ToBytes(4L)); OldFormatImpersonationIsActive = false; - try { + try + { writer.Dispose(); Assert.Fail("should not have succeeded to update a segment written with an old Codec"); } catch (Exception e) when (e.IsUnsupportedOperationException()) { Review Comment: I am guessing you intended to fix this line `} catch (Exception e) when (e.IsUnsupportedOperationException()) {` and `} finally {` also? -- 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