Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirwin committed Nov 11, 2024
1 parent 36bd885 commit 9d1b95d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Lucene.Net.Tests/Index/TestBinaryDocValuesUpdates.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1146,9 +1146,13 @@ public virtual void TestUpdateOldSegments()
{
writer.Dispose();
Assert.Fail("should not have succeeded to update a segment written with an old Codec");
} catch (Exception e) when (e.IsUnsupportedOperationException()) {
}
catch (Exception e) when (e.IsUnsupportedOperationException())
{
writer.Rollback();
} finally {
}
finally
{
OldFormatImpersonationIsActive = oldValue;
}

Expand Down

0 comments on commit 9d1b95d

Please sign in to comment.