style: swiftformat pass — drift from the format gate
CI / ci (push) Canceled after 0s
CI / ci (push) Canceled after 0s
Whole-tree swiftformat/swiftlint run during #136 flagged 9 files drifted (/// doc markers on private members, one force-unwrap to #require). Comment- and lint-only, no code change.
This commit is contained in:
1 parent
5ad605eb3c
commit
a4ea914690
9 files changed
+18
-27
No files matched your search
@@ -88,7 +88,7 @@ struct ImportExternalTests {
|
||||
// A UTF-16 encoded file: String(contentsOf: .utf8) fails → nil.
|
||||
let ext = FileManager.default.temporaryDirectory
|
||||
.appendingPathComponent("museion-ext-\(UUID().uuidString)-utf16.md")
|
||||
let data = "# Title\n\nBody.".data(using: .utf16)!
|
||||
let data = try #require("# Title\n\nBody.".data(using: .utf16))
|
||||
try data.write(to: ext)
|
||||
defer { try? FileManager.default.removeItem(at: ext) }
|
||||
|
||||
|
||||
Reference in new issue
Block a user