@@ -34,7 +34,7 @@ func TestAta(t *testing.T) {
34
34
TypesRegistry : []string {"config" },
35
35
},
36
36
})
37
- service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS , "" )
37
+ service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS )
38
38
assert .Equal (t , len (service .Projects ()), 1 )
39
39
_ , p := service .EnsureDefaultProjectForFile ("/user/username/projects/project/app.js" )
40
40
assert .Equal (t , p .Kind (), project .KindConfigured )
@@ -70,7 +70,7 @@ func TestAta(t *testing.T) {
70
70
},
71
71
},
72
72
})
73
- service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS , "" )
73
+ service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS )
74
74
assert .Equal (t , len (service .Projects ()), 1 )
75
75
_ , p := service .EnsureDefaultProjectForFile ("/user/username/projects/project/app.js" )
76
76
assert .Equal (t , p .Kind (), project .KindConfigured )
@@ -108,7 +108,7 @@ func TestAta(t *testing.T) {
108
108
},
109
109
},
110
110
})
111
- service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS , "" )
111
+ service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS )
112
112
assert .Equal (t , len (service .Projects ()), 1 )
113
113
_ , p := service .EnsureDefaultProjectForFile ("/user/username/projects/project/app.js" )
114
114
assert .Equal (t , p .Kind (), project .KindInferred )
@@ -142,7 +142,7 @@ func TestAta(t *testing.T) {
142
142
TypesRegistry : []string {"jquery" },
143
143
},
144
144
})
145
- service .OpenFile ("/user/username/projects/project/jquery.js" , files ["/user/username/projects/project/jquery.js" ].(string ), core .ScriptKindJS , "" )
145
+ service .OpenFile ("/user/username/projects/project/jquery.js" , files ["/user/username/projects/project/jquery.js" ].(string ), core .ScriptKindJS )
146
146
assert .Equal (t , len (service .Projects ()), 1 )
147
147
_ , p := service .EnsureDefaultProjectForFile ("/user/username/projects/project/jquery.js" )
148
148
assert .Equal (t , p .Kind (), project .KindConfigured )
@@ -170,7 +170,7 @@ func TestAta(t *testing.T) {
170
170
TypesRegistry : []string {"node" },
171
171
},
172
172
})
173
- service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS , "" )
173
+ service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS )
174
174
assert .Equal (t , len (service .Projects ()), 1 )
175
175
_ , p := service .EnsureDefaultProjectForFile ("/user/username/projects/project/app.js" )
176
176
assert .Equal (t , p .Kind (), project .KindConfigured )
@@ -210,8 +210,8 @@ func TestAta(t *testing.T) {
210
210
},
211
211
})
212
212
213
- service .OpenFile ("/user/username/projects/project1/app.js" , files ["/user/username/projects/project1/app.js" ].(string ), core .ScriptKindJS , "" )
214
- service .OpenFile ("/user/username/projects/project2/app.js" , files ["/user/username/projects/project2/app.js" ].(string ), core .ScriptKindJS , "" )
213
+ service .OpenFile ("/user/username/projects/project1/app.js" , files ["/user/username/projects/project1/app.js" ].(string ), core .ScriptKindJS )
214
+ service .OpenFile ("/user/username/projects/project2/app.js" , files ["/user/username/projects/project2/app.js" ].(string ), core .ScriptKindJS )
215
215
_ , p1 := service .EnsureDefaultProjectForFile ("/user/username/projects/project1/app.js" )
216
216
_ , p2 := service .EnsureDefaultProjectForFile ("/user/username/projects/project2/app.js" )
217
217
var installStatuses []project.TypingsInstallerStatus
@@ -271,8 +271,8 @@ func TestAta(t *testing.T) {
271
271
}
272
272
}
273
273
274
- service .OpenFile ("/user/username/projects/project1/app.js" , files ["/user/username/projects/project1/app.js" ].(string ), core .ScriptKindJS , "" )
275
- service .OpenFile ("/user/username/projects/project2/app.js" , files ["/user/username/projects/project2/app.js" ].(string ), core .ScriptKindJS , "" )
274
+ service .OpenFile ("/user/username/projects/project1/app.js" , files ["/user/username/projects/project1/app.js" ].(string ), core .ScriptKindJS )
275
+ service .OpenFile ("/user/username/projects/project2/app.js" , files ["/user/username/projects/project2/app.js" ].(string ), core .ScriptKindJS )
276
276
_ , p1 := service .EnsureDefaultProjectForFile ("/user/username/projects/project1/app.js" )
277
277
_ , p2 := service .EnsureDefaultProjectForFile ("/user/username/projects/project2/app.js" )
278
278
// Order is determinate since second install will run only after completing first one
@@ -310,7 +310,7 @@ func TestAta(t *testing.T) {
310
310
},
311
311
})
312
312
313
- service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS , "" )
313
+ service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS )
314
314
_ , p := service .EnsureDefaultProjectForFile ("/user/username/projects/project/app.js" )
315
315
// Order is determinate since second install will run only after completing first one
316
316
status := <- host .ServiceOptions .InstallStatus
@@ -352,7 +352,7 @@ func TestAta(t *testing.T) {
352
352
},
353
353
})
354
354
355
- service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS , "" )
355
+ service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS )
356
356
_ , p := service .EnsureDefaultProjectForFile ("/user/username/projects/project/app.js" )
357
357
// Order is determinate since second install will run only after completing first one
358
358
status := <- host .ServiceOptions .InstallStatus
@@ -394,7 +394,7 @@ func TestAta(t *testing.T) {
394
394
},
395
395
})
396
396
397
- service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS , "" )
397
+ service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS )
398
398
_ , p := service .EnsureDefaultProjectForFile ("/user/username/projects/project/app.js" )
399
399
// Order is determinate since second install will run only after completing first one
400
400
status := <- host .ServiceOptions .InstallStatus
@@ -436,7 +436,7 @@ func TestAta(t *testing.T) {
436
436
},
437
437
})
438
438
439
- service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS , "" )
439
+ service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS )
440
440
_ , p := service .EnsureDefaultProjectForFile ("/user/username/projects/project/app.js" )
441
441
// Order is determinate since second install will run only after completing first one
442
442
status := <- host .ServiceOptions .InstallStatus
@@ -463,7 +463,7 @@ func TestAta(t *testing.T) {
463
463
},
464
464
})
465
465
466
- service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS , "" )
466
+ service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS )
467
467
_ , p := service .EnsureDefaultProjectForFile ("/user/username/projects/project/app.js" )
468
468
// Order is determinate since second install will run only after completing first one
469
469
status := <- host .ServiceOptions .InstallStatus
@@ -495,7 +495,7 @@ func TestAta(t *testing.T) {
495
495
},
496
496
})
497
497
498
- service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS , "" )
498
+ service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS )
499
499
_ , p := service .EnsureDefaultProjectForFile ("/user/username/projects/project/app.js" )
500
500
// Order is determinate since second install will run only after completing first one
501
501
status := <- host .ServiceOptions .InstallStatus
@@ -522,7 +522,7 @@ func TestAta(t *testing.T) {
522
522
},
523
523
})
524
524
525
- service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS , "" )
525
+ service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS )
526
526
_ , p := service .EnsureDefaultProjectForFile ("/user/username/projects/project/app.js" )
527
527
// Order is determinate since second install will run only after completing first one
528
528
status := <- host .ServiceOptions .InstallStatus
@@ -571,7 +571,7 @@ func TestAta(t *testing.T) {
571
571
},
572
572
})
573
573
574
- service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS , "" )
574
+ service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS )
575
575
_ , p := service .EnsureDefaultProjectForFile ("/user/username/projects/project/app.js" )
576
576
// Order is determinate since second install will run only after completing first one
577
577
status := <- host .ServiceOptions .InstallStatus
@@ -602,7 +602,7 @@ func TestAta(t *testing.T) {
602
602
},
603
603
})
604
604
605
- service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS , "" )
605
+ service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS )
606
606
_ , p := service .EnsureDefaultProjectForFile ("/user/username/projects/project/app.js" )
607
607
// Order is determinate since second install will run only after completing first one
608
608
status := <- host .ServiceOptions .InstallStatus
@@ -651,7 +651,7 @@ func TestAta(t *testing.T) {
651
651
},
652
652
})
653
653
654
- service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS , "" )
654
+ service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS )
655
655
_ , p := service .EnsureDefaultProjectForFile ("/user/username/projects/project/app.js" )
656
656
// Order is determinate since second install will run only after completing first one
657
657
status := <- host .ServiceOptions .InstallStatus
@@ -697,7 +697,7 @@ func TestAta(t *testing.T) {
697
697
},
698
698
})
699
699
700
- service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS , "" )
700
+ service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS )
701
701
_ , p := service .EnsureDefaultProjectForFile ("/user/username/projects/project/app.js" )
702
702
// Order is determinate since second install will run only after completing first one
703
703
status := <- host .ServiceOptions .InstallStatus
@@ -745,7 +745,7 @@ func TestAta(t *testing.T) {
745
745
},
746
746
})
747
747
748
- service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS , "" )
748
+ service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS )
749
749
_ , p := service .EnsureDefaultProjectForFile ("/user/username/projects/project/app.js" )
750
750
// Order is determinate since second install will run only after completing first one
751
751
status := <- host .ServiceOptions .InstallStatus
@@ -791,7 +791,7 @@ func TestAta(t *testing.T) {
791
791
},
792
792
})
793
793
794
- service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS , "" )
794
+ service .OpenFile ("/user/username/projects/project/app.js" , files ["/user/username/projects/project/app.js" ].(string ), core .ScriptKindJS )
795
795
_ , p := service .EnsureDefaultProjectForFile ("/user/username/projects/project/app.js" )
796
796
// Order is determinate since second install will run only after completing first one
797
797
status := <- host .ServiceOptions .InstallStatus
0 commit comments