Skip to content

Commit 5942862

Browse files
committed
Fix tests
1 parent 474b7cf commit 5942862

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Core/Tests/ServiceUpdateMigrationTests/MigrateTo240Tests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ final class MigrateTo240Tests: XCTestCase {
2828
XCTAssertEqual(chatModel.info, .init(
2929
apiKeyName: "OpenAI",
3030
baseURL: "",
31-
maxTokens: 4096,
31+
maxTokens: 16385,
3232
supportsFunctionCalling: true,
3333
modelName: "gpt-3.5-turbo"
3434
))

Tool/Tests/GitHubCopilotServiceTests/FetchSuggestionsTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ final class FetchSuggestionTests: XCTestCase {
7777
usesTabsForIndentation: false
7878
)
7979
XCTAssertEqual(completions.count, 1)
80-
XCTAssertEqual(completions.first?.text, "Hello World")
80+
XCTAssertEqual(completions.first?.text, "Hello World\n")
8181
}
8282
}
8383

0 commit comments

Comments
 (0)