         }
 
         // Test GZip unarchiving.
-        let decompressedData = try? GzipArchive.unarchive(archiveData: archiveData)
-
-        guard decompressedData != nil  else {
+        guard let decompressedData = try? GzipArchive.unarchive(archiveData: archiveData) else {
             XCTFail("Failed to decompress")
             return
         }

                _ = try? GzipArchive.unarchive(archiveData: archiveData)
            }
        #endif
    }

    func testGzip1() {

        self.unarchive(test: "test9")
    }

    func testGzipArchive4() {
        self.archive(test: "test4")
    }

}
