Skip to content

Commit 076c603

Browse files
committed
Fix tests
1 parent 383fad4 commit 076c603

6 files changed

+16
-0
lines changed

Core/Tests/ServiceTests/CommentBase_AcceptSuggestionTests.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ final class CommentBase_AcceptSuggestionTests: XCTestCase {
3939
lines: lines,
4040
uti: "",
4141
cursorPosition: .init(line: 0, character: 0),
42+
selections: [],
4243
tabSize: 1,
4344
indentSize: 1,
4445
usesTabsForIndentation: false
@@ -51,6 +52,7 @@ final class CommentBase_AcceptSuggestionTests: XCTestCase {
5152
lines: result1Lines,
5253
uti: "",
5354
cursorPosition: .init(line: 3, character: 5),
55+
selections: [],
5456
tabSize: 1,
5557
indentSize: 1,
5658
usesTabsForIndentation: false
@@ -77,6 +79,7 @@ final class CommentBase_AcceptSuggestionTests: XCTestCase {
7779
lines: lines,
7880
uti: "",
7981
cursorPosition: .init(line: 0, character: 3),
82+
selections: [],
8083
tabSize: 1,
8184
indentSize: 1,
8285
usesTabsForIndentation: false

Core/Tests/ServiceTests/CommentBase_GetNextSuggestionTests.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ final class CommentBase_GetNextSuggestionTests: XCTestCase {
4949
lines: lines,
5050
uti: "",
5151
cursorPosition: .init(line: 0, character: 0),
52+
selections: [],
5253
tabSize: 1,
5354
indentSize: 1,
5455
usesTabsForIndentation: false
@@ -61,6 +62,7 @@ final class CommentBase_GetNextSuggestionTests: XCTestCase {
6162
lines: result1Lines,
6263
uti: "",
6364
cursorPosition: .init(line: 3, character: 5),
65+
selections: [],
6466
tabSize: 1,
6567
indentSize: 1,
6668
usesTabsForIndentation: false
@@ -90,6 +92,7 @@ final class CommentBase_GetNextSuggestionTests: XCTestCase {
9092
lines: result2Lines,
9193
uti: "",
9294
cursorPosition: .init(line: 0, character: 3),
95+
selections: [],
9396
tabSize: 1,
9497
indentSize: 1,
9598
usesTabsForIndentation: false

Core/Tests/ServiceTests/CommentBase_GetPreviousSuggestionTests.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ final class CommentBase_GetPreviousSuggestionTests: XCTestCase {
4949
lines: lines,
5050
uti: "",
5151
cursorPosition: .init(line: 0, character: 0),
52+
selections: [],
5253
tabSize: 1,
5354
indentSize: 1,
5455
usesTabsForIndentation: false
@@ -61,6 +62,7 @@ final class CommentBase_GetPreviousSuggestionTests: XCTestCase {
6162
lines: result1Lines,
6263
uti: "",
6364
cursorPosition: .init(line: 3, character: 5),
65+
selections: [],
6466
tabSize: 1,
6567
indentSize: 1,
6668
usesTabsForIndentation: false
@@ -90,6 +92,7 @@ final class CommentBase_GetPreviousSuggestionTests: XCTestCase {
9092
lines: result2Lines,
9193
uti: "",
9294
cursorPosition: .init(line: 0, character: 3),
95+
selections: [],
9396
tabSize: 1,
9497
indentSize: 1,
9598
usesTabsForIndentation: false

Core/Tests/ServiceTests/CommentBase_GetSuggestionsTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ final class CommentBase_GetSuggestionsTests: XCTestCase {
4040
lines: lines,
4141
uti: "",
4242
cursorPosition: .init(line: 0, character: 17),
43+
selections: [],
4344
tabSize: 1,
4445
indentSize: 1,
4546
usesTabsForIndentation: false
@@ -93,6 +94,7 @@ final class CommentBase_GetSuggestionsTests: XCTestCase {
9394
lines: lines,
9495
uti: "",
9596
cursorPosition: .init(line: 6, character: 1),
97+
selections: [],
9698
tabSize: 1,
9799
indentSize: 1,
98100
usesTabsForIndentation: false

Core/Tests/ServiceTests/CommentBase_RealtimeSuggestionTests.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ final class CommentBase_RealtimeSuggestionsTests: XCTestCase {
4343
lines: lines,
4444
uti: "",
4545
cursorPosition: .init(line: 0, character: 17),
46+
selections: [],
4647
tabSize: 1,
4748
indentSize: 1,
4849
usesTabsForIndentation: false
@@ -100,6 +101,7 @@ final class CommentBase_RealtimeSuggestionsTests: XCTestCase {
100101
lines: lines,
101102
uti: "",
102103
cursorPosition: .init(line: 0, character: 17),
104+
selections: [],
103105
tabSize: 1,
104106
indentSize: 1,
105107
usesTabsForIndentation: false

Core/Tests/ServiceTests/CommentBase_RejectSuggestionTests.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ final class CommentBase_RejectSuggestionTests: XCTestCase {
3939
lines: lines,
4040
uti: "",
4141
cursorPosition: .init(line: 0, character: 0),
42+
selections: [],
4243
tabSize: 1,
4344
indentSize: 1,
4445
usesTabsForIndentation: false
@@ -51,6 +52,7 @@ final class CommentBase_RejectSuggestionTests: XCTestCase {
5152
lines: result1Lines,
5253
uti: "",
5354
cursorPosition: .init(line: 3, character: 5),
55+
selections: [],
5456
tabSize: 1,
5557
indentSize: 1,
5658
usesTabsForIndentation: false
@@ -71,6 +73,7 @@ final class CommentBase_RejectSuggestionTests: XCTestCase {
7173
lines: result1Lines,
7274
uti: "",
7375
cursorPosition: .init(line: 0, character: 3),
76+
selections: [],
7477
tabSize: 1,
7578
indentSize: 1,
7679
usesTabsForIndentation: false

0 commit comments

Comments
 (0)