Skip to content

Commit 6e08e2c

Browse files
committed
Update
1 parent 9cf5c59 commit 6e08e2c

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Core/Tests/ServiceTests/Environment.swift

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,22 @@ func completion(text: String, range: CursorRange, uuid: String = "") -> CopilotC
3838
}
3939

4040
class MockSuggestionService: CopilotSuggestionServiceType {
41+
func notifyOpenTextDocument(fileURL: URL, content: String) async throws {
42+
fatalError()
43+
}
44+
45+
func notifyChangeTextDocument(fileURL: URL, content: String) async throws {
46+
fatalError()
47+
}
48+
49+
func notifyCloseTextDocument(fileURL: URL) async throws {
50+
fatalError()
51+
}
52+
53+
func notifySaveTextDocument(fileURL: URL) async throws {
54+
fatalError()
55+
}
56+
4157
var completions = [CopilotCompletion]()
4258
var accepted: String?
4359
var rejected: [String] = []

0 commit comments

Comments
 (0)