From 0a10d96e0567309fc6b6aecf4a7cdf6f0b372712 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Kodes=CC=8C?= Date: Mon, 29 Jan 2024 16:00:49 +0100 Subject: [PATCH] [feat]: Make class final --- Tests/NetworkingTests/Mocks/MockFileDataWriter.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/NetworkingTests/Mocks/MockFileDataWriter.swift b/Tests/NetworkingTests/Mocks/MockFileDataWriter.swift index ef65d81f..17c56c76 100644 --- a/Tests/NetworkingTests/Mocks/MockFileDataWriter.swift +++ b/Tests/NetworkingTests/Mocks/MockFileDataWriter.swift @@ -10,7 +10,7 @@ import Networking /// A test mock class for `FileDataWriting`. /// It writes into a file but let's us react when it's finished. -class MockFileDataWriter: FileDataWriting { +final class MockFileDataWriter: FileDataWriting { var writeClosure: (() -> Void)? private(set) var writeCalled = false private(set) var receivedData: Data?