Skip to content

Commit 33f7e79

Browse files
committed
No need for ~Copyable
1 parent 4af0c68 commit 33f7e79

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

Tests/CacheAdvanceTests/CacheHeaderHandleTests.swift

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,11 @@ import Testing
2121
@testable import CacheAdvance
2222

2323
@Suite(.serialized)
24-
struct CacheHeaderHandleTests: ~Copyable {
24+
struct CacheHeaderHandleTests {
2525
// MARK: Initializatino
2626

27-
init() {
28-
#expect(FileManager.default.createFile(atPath: testFileLocation.path, contents: nil, attributes: nil))
29-
}
30-
31-
deinit {
32-
try? FileManager.default.removeItem(at: testFileLocation)
27+
init() throws {
28+
Data().write(to: testFileLocation)
3329
}
3430

3531
// MARK: Behavior Tests

0 commit comments

Comments
 (0)