@@ -79,7 +79,7 @@ suite('CompletionModel', function () {
7979 ] , 1 , {
8080 leadingLineContent : 'foo' ,
8181 characterCountDelta : 0
82- } , WordDistance . None , EditorOptions . suggest . defaultValue , EditorOptions . snippetSuggestions . defaultValue ) ;
82+ } , WordDistance . None , EditorOptions . suggest . defaultValue , EditorOptions . snippetSuggestions . defaultValue , undefined ) ;
8383 } ) ;
8484
8585 test ( 'filtering - cached' , function ( ) {
@@ -110,7 +110,7 @@ suite('CompletionModel', function () {
110110 ] , 1 , {
111111 leadingLineContent : 'foo' ,
112112 characterCountDelta : 0
113- } , WordDistance . None , EditorOptions . suggest . defaultValue , EditorOptions . snippetSuggestions . defaultValue ) ;
113+ } , WordDistance . None , EditorOptions . suggest . defaultValue , EditorOptions . snippetSuggestions . defaultValue , undefined ) ;
114114 assert . equal ( incompleteModel . incomplete . size , 1 ) ;
115115 } ) ;
116116
@@ -119,7 +119,7 @@ suite('CompletionModel', function () {
119119 const completeItem = createSuggestItem ( 'foobar' , 1 , undefined , false , { lineNumber : 1 , column : 2 } ) ;
120120 const incompleteItem = createSuggestItem ( 'foofoo' , 1 , undefined , true , { lineNumber : 1 , column : 2 } ) ;
121121
122- const model = new CompletionModel ( [ completeItem , incompleteItem ] , 2 , { leadingLineContent : 'f' , characterCountDelta : 0 } , WordDistance . None , EditorOptions . suggest . defaultValue , EditorOptions . snippetSuggestions . defaultValue ) ;
122+ const model = new CompletionModel ( [ completeItem , incompleteItem ] , 2 , { leadingLineContent : 'f' , characterCountDelta : 0 } , WordDistance . None , EditorOptions . suggest . defaultValue , EditorOptions . snippetSuggestions . defaultValue , undefined ) ;
123123 assert . equal ( model . incomplete . size , 1 ) ;
124124 assert . equal ( model . items . length , 2 ) ;
125125
@@ -148,7 +148,7 @@ suite('CompletionModel', function () {
148148 completeItem4 ,
149149 completeItem5 ,
150150 incompleteItem1 ,
151- ] , 2 , { leadingLineContent : 'f' , characterCountDelta : 0 } , WordDistance . None , EditorOptions . suggest . defaultValue , EditorOptions . snippetSuggestions . defaultValue
151+ ] , 2 , { leadingLineContent : 'f' , characterCountDelta : 0 } , WordDistance . None , EditorOptions . suggest . defaultValue , EditorOptions . snippetSuggestions . defaultValue , undefined
152152 ) ;
153153 assert . equal ( model . incomplete . size , 1 ) ;
154154 assert . equal ( model . items . length , 6 ) ;
@@ -172,7 +172,7 @@ suite('CompletionModel', function () {
172172 ] , 1 , {
173173 leadingLineContent : ' <' ,
174174 characterCountDelta : 0
175- } , WordDistance . None , EditorOptions . suggest . defaultValue , EditorOptions . snippetSuggestions . defaultValue ) ;
175+ } , WordDistance . None , EditorOptions . suggest . defaultValue , EditorOptions . snippetSuggestions . defaultValue , undefined ) ;
176176
177177 assert . equal ( model . items . length , 4 ) ;
178178
@@ -192,7 +192,7 @@ suite('CompletionModel', function () {
192192 ] , 1 , {
193193 leadingLineContent : 's' ,
194194 characterCountDelta : 0
195- } , WordDistance . None , defaultOptions , 'top' ) ;
195+ } , WordDistance . None , defaultOptions , 'top' , undefined ) ;
196196
197197 assert . equal ( model . items . length , 2 ) ;
198198 const [ a , b ] = model . items ;
@@ -211,7 +211,7 @@ suite('CompletionModel', function () {
211211 ] , 1 , {
212212 leadingLineContent : 's' ,
213213 characterCountDelta : 0
214- } , WordDistance . None , defaultOptions , 'bottom' ) ;
214+ } , WordDistance . None , defaultOptions , 'bottom' , undefined ) ;
215215
216216 assert . equal ( model . items . length , 2 ) ;
217217 const [ a , b ] = model . items ;
@@ -229,7 +229,7 @@ suite('CompletionModel', function () {
229229 ] , 1 , {
230230 leadingLineContent : 's' ,
231231 characterCountDelta : 0
232- } , WordDistance . None , defaultOptions , 'inline' ) ;
232+ } , WordDistance . None , defaultOptions , 'inline' , undefined ) ;
233233
234234 assert . equal ( model . items . length , 2 ) ;
235235 const [ a , b ] = model . items ;
@@ -246,7 +246,7 @@ suite('CompletionModel', function () {
246246 model = new CompletionModel ( [ item1 , item2 ] , 1 , {
247247 leadingLineContent : 'M' ,
248248 characterCountDelta : 0
249- } , WordDistance . None , EditorOptions . suggest . defaultValue , EditorOptions . snippetSuggestions . defaultValue ) ;
249+ } , WordDistance . None , EditorOptions . suggest . defaultValue , EditorOptions . snippetSuggestions . defaultValue , undefined ) ;
250250
251251 assert . equal ( model . items . length , 2 ) ;
252252
@@ -266,7 +266,7 @@ suite('CompletionModel', function () {
266266 model = new CompletionModel ( items , 3 , {
267267 leadingLineContent : ' ' ,
268268 characterCountDelta : 0
269- } , WordDistance . None , EditorOptions . suggest . defaultValue , EditorOptions . snippetSuggestions . defaultValue ) ;
269+ } , WordDistance . None , EditorOptions . suggest . defaultValue , EditorOptions . snippetSuggestions . defaultValue , undefined ) ;
270270
271271 assert . equal ( model . items . length , 2 ) ;
272272
@@ -285,7 +285,7 @@ suite('CompletionModel', function () {
285285 ] , 1 , {
286286 leadingLineContent : '' ,
287287 characterCountDelta : 0
288- } , WordDistance . None , EditorOptions . suggest . defaultValue , EditorOptions . snippetSuggestions . defaultValue ) ;
288+ } , WordDistance . None , EditorOptions . suggest . defaultValue , EditorOptions . snippetSuggestions . defaultValue , undefined ) ;
289289
290290 assert . equal ( model . items . length , 5 ) ;
291291
@@ -312,7 +312,7 @@ suite('CompletionModel', function () {
312312 ] , 1 , {
313313 leadingLineContent : '' ,
314314 characterCountDelta : 0
315- } , WordDistance . None , EditorOptions . suggest . defaultValue , EditorOptions . snippetSuggestions . defaultValue ) ;
315+ } , WordDistance . None , EditorOptions . suggest . defaultValue , EditorOptions . snippetSuggestions . defaultValue , undefined ) ;
316316
317317 // query gets longer, narrow down the narrow-down'ed-set from before
318318 model . lineContext = { leadingLineContent : 'rlut' , characterCountDelta : 4 } ;
@@ -334,7 +334,7 @@ suite('CompletionModel', function () {
334334 ] , 1 , {
335335 leadingLineContent : '' ,
336336 characterCountDelta : 0
337- } , WordDistance . None , EditorOptions . suggest . defaultValue , EditorOptions . snippetSuggestions . defaultValue ) ;
337+ } , WordDistance . None , EditorOptions . suggest . defaultValue , EditorOptions . snippetSuggestions . defaultValue , undefined ) ;
338338
339339 model . lineContext = { leadingLineContent : 'form' , characterCountDelta : 4 } ;
340340 assert . equal ( model . items . length , 5 ) ;
0 commit comments