From d5cab8172b98ccd613894354bdff3e2b4f07b378 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sun, 8 Feb 2026 12:54:11 +0000 Subject: [PATCH] Address code review feedback: clarify file size comment Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com> --- tests/SharpCompress.Test/Rar/RarArchiveTests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/SharpCompress.Test/Rar/RarArchiveTests.cs b/tests/SharpCompress.Test/Rar/RarArchiveTests.cs index df33b6a9..aeb7998b 100644 --- a/tests/SharpCompress.Test/Rar/RarArchiveTests.cs +++ b/tests/SharpCompress.Test/Rar/RarArchiveTests.cs @@ -758,9 +758,9 @@ public class RarArchiveTests : ArchiveTests "File should be in HeadBraid subdirectory" ); - // Verify the file size of 766832.tr11dtp (should be ~4.8MB, not 5MB) + // Verify the exact file size of 766832.tr11dtp matches the archive entry size var fileInfo = new FileInfo(Path.Combine(SCRATCH_FILES_PATH, "Braid", "766832.tr11dtp")); - Assert.Equal(4867620, fileInfo.Length); // Expected size from the archive + Assert.Equal(4867620, fileInfo.Length); // Expected: 4,867,620 bytes } ///