mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-09-23 23:45:14 +00:00
Remove unused variable from test
Address code review feedback: remove unused testFile variable Co-authored-by: adamhathcock <527620+adamhathcock@users.noreply.github.com>
This commit is contained in:
@@ -660,8 +660,6 @@ public class ArchiveTests : ReaderTests
|
||||
{
|
||||
// Test that ArchiveFactory.IsArchive returns false instead of throwing
|
||||
// when called on a non-archive file (regression test for issue #1060)
|
||||
var testFile = Path.Combine(TEST_ARCHIVES_PATH, "Zip.bzip2.noEmptyDirs.zip");
|
||||
|
||||
using (var stream = new MemoryStream(new byte[] { 0x00, 0x01, 0x02, 0x03, 0x04 }))
|
||||
{
|
||||
var result = ArchiveFactory.IsArchive(stream, out var type);
|
||||
|
||||
Reference in New Issue
Block a user