Skip to content

Commit 96e4d49

Browse files
authored
test: fix the two test files that stop the test target compiling on main (#3098)
1 parent 5cccab2 commit 96e4d49

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

‎TableProTests/Models/FileTabExternalChangeTests.swift‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ struct FileTabExternalChangeTests {
143143
var tab = hydratedTab(for: url)
144144

145145
try "SELECT 1 -- saved".write(to: url, atomically: true, encoding: .utf8)
146-
FileTabBaseline.recordWrite(of: "SELECT 1 -- saved", encoding: .utf8, to: url, in: &tab.content)
146+
FileTabBaseline.recordWrite(of: "SELECT 1 -- saved", to: url, in: &tab.content)
147147

148148
#expect(tab.content.savedFileContent == "SELECT 1 -- saved")
149149
#expect(FileTabBaseline.diskChange(in: tab.content) == nil)

‎TableProTests/Plugins/OracleColumnStatementsTests.swift‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
// the outcome its test names.
77
//
88

9+
import Foundation
910
@testable import TablePro
1011
import TableProPluginKit
1112
import Testing

0 commit comments

Comments
 (0)