Skip to content

Commit

Permalink
[feat]: Make class final
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkodes committed Jan 29, 2024
1 parent 6501bad commit 0a10d96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/NetworkingTests/Mocks/MockFileDataWriter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit 0a10d96

Please sign in to comment.