From 0c80ccedf21db0fb424cf342d753aa516fd99c47 Mon Sep 17 00:00:00 2001 From: Timofey Solomko Date: Fri, 21 Oct 2022 19:28:13 +0300 Subject: [PATCH] [Tests] Correctly check for error type in Deflate truncation testing --- Tests/GzipTests.swift | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/Tests/GzipTests.swift b/Tests/GzipTests.swift index d11d4fd6..db02a4f9 100644 --- a/Tests/GzipTests.swift +++ b/Tests/GzipTests.swift @@ -290,8 +290,10 @@ class GzipTests: XCTestCase { var thrownError: Error? = nil XCTAssertThrowsError(try GzipArchive.unarchive(archive: testData[..