@@ -38,7 +38,7 @@ class CombinatorContributorTest extends DartCompletionContributorTest {
38
38
// SimpleIdentifier HideCombinator ImportDirective
39
39
addSource ('/testAB.dart' , '''
40
40
library libAB;
41
- part '/partAB.dart';
41
+ part "${ convertPathForImport ( '/partAB.dart' )}" ;
42
42
class A { }
43
43
class B { }''' );
44
44
addSource ('/partAB.dart' , '''
@@ -50,8 +50,8 @@ class CombinatorContributorTest extends DartCompletionContributorTest {
50
50
class C { }
51
51
class D { }''' );
52
52
addTestSource ('''
53
- import "/testAB.dart" hide ^;
54
- import "/testCD.dart";
53
+ import "${ convertPathForImport ( " /testAB.dart" )} " hide ^;
54
+ import "${ convertPathForImport ( " /testCD.dart" )} ";
55
55
class X {}''' );
56
56
57
57
await computeSuggestions ();
@@ -78,7 +78,7 @@ class CombinatorContributorTest extends DartCompletionContributorTest {
78
78
// SimpleIdentifier HideCombinator ImportDirective
79
79
addSource ('/testAB.dart' , '''
80
80
library libAB;
81
- part '/partAB.dart';
81
+ part "${ convertPathForImport ( '/partAB.dart' )}" ;
82
82
class A { }
83
83
class B { }
84
84
class _AB''' );
@@ -93,8 +93,8 @@ class CombinatorContributorTest extends DartCompletionContributorTest {
93
93
class C { }
94
94
class D { }''' );
95
95
addTestSource ('''
96
- import "/testAB.dart" show ^;
97
- import "/testCD.dart";
96
+ import "${ convertPathForImport ( " /testAB.dart" )} " show ^;
97
+ import "${ convertPathForImport ( " /testCD.dart" )} ";
98
98
class X {}''' );
99
99
100
100
await computeSuggestions ();
@@ -140,7 +140,7 @@ export 'testB.dart';
140
140
class B {}
141
141
''' );
142
142
addTestSource ('''
143
- import "/testB.dart" show ^;
143
+ import "${ convertPathForImport ( " /testB.dart" )} " show ^;
144
144
''' );
145
145
await computeSuggestions ();
146
146
assertSuggestClass ('A' ,
0 commit comments