Skip to content

Commit 1554339

Browse files
committed
format
1 parent 9cbe7f5 commit 1554339

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

libs/storage/Tsavorite/cs/test/DeltaLogTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ public void DeltaLogTest1([Values] TestUtils.DeviceType deviceType)
7878
ClassicAssert.AreEqual(len, _len);
7979
for (int j = 0; j < len; j++)
8080
{
81-
unsafe { ClassicAssert.AreEqual((byte)_len, *(byte*)(address + j)); };
81+
unsafe { ClassicAssert.AreEqual((byte)_len, *(byte*)(address + j)); }
82+
;
8283
}
8384
}
8485
ClassicAssert.AreEqual(TotalCount, i, $"i={i} and TotalCount={TotalCount}");

libs/storage/Tsavorite/cs/test/LockableUnsafeContextTests.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1336,7 +1336,8 @@ void updater(int key, int iter)
13361336
default:
13371337
Assert.Fail($"Unexpected updateOp {updateOp}");
13381338
return;
1339-
};
1339+
}
1340+
;
13401341
ClassicAssert.IsFalse(status.IsFaulted, $"Unexpected UpdateOp {updateOp}, status {status}");
13411342
}
13421343
catch (Exception)
@@ -1477,7 +1478,8 @@ void updater(int key, int iter)
14771478
default:
14781479
Assert.Fail($"Unexpected updateOp {updateOp}");
14791480
return;
1480-
};
1481+
}
1482+
;
14811483
ClassicAssert.IsFalse(status.IsFaulted, $"Unexpected UpdateOp {updateOp}, status {status}");
14821484
lastUpdaterKeys[2] = key;
14831485
}

libs/storage/Tsavorite/cs/test/ReproReadCacheTest.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ public void Setup()
7878
kvSettings.ReadCachePageSize = 1L << 12;
7979
kvSettings.ReadCacheSecondChanceFraction = 0.1;
8080
kvSettings.ReadCacheEnabled = true;
81-
};
81+
}
82+
;
8283
continue;
8384
}
8485
if (arg is DeviceType deviceType)

0 commit comments

Comments
 (0)