diff --git a/Tests/Bzip2Tests.swift b/Tests/Bzip2Tests.swift index f089e9a4..a11fabe3 100644 --- a/Tests/Bzip2Tests.swift +++ b/Tests/Bzip2Tests.swift @@ -44,7 +44,7 @@ class Bzip2Tests: XCTestCase { #if PERF_TESTS print("Performing performance tests for \(Bzip2Tests.testType).\(testName)") self.measure { - _ = try? BZip2.decompress(compressedData: testData) + _ = try? BZip2.decompress(data: testData) } #endif } diff --git a/Tests/GzipTests.swift b/Tests/GzipTests.swift index 278d04d0..c37b2e71 100644 --- a/Tests/GzipTests.swift +++ b/Tests/GzipTests.swift @@ -72,7 +72,7 @@ class GzipTests: XCTestCase { #if PERF_TESTS print("Performing performance tests for gz.\(testName)") self.measure { - _ = try? GzipArchive.unarchive(archiveData: archiveData) + _ = try? GzipArchive.unarchive(archive: testData) } #endif } diff --git a/Tests/XzTests.swift b/Tests/XzTests.swift index 93857776..530b8a39 100644 --- a/Tests/XzTests.swift +++ b/Tests/XzTests.swift @@ -44,7 +44,7 @@ class XZTests: XCTestCase { #if PERF_TESTS print("Performing performance tests for \(XZTests.testType).\(testName)") self.measure { - _ = try? XZArchive.unarchive(archiveData: testData) + _ = try? XZArchive.unarchive(archive: testData) } #endif }