@@ -53,19 +53,17 @@ private Task<CompletionResults> GetCompletionResultsAsync(ScriptRegion scriptReg
53
53
CancellationToken . None ) ;
54
54
}
55
55
56
- [ SkippableFact ]
56
+ [ Fact ]
57
57
public async Task CompletesCommandInFile ( )
58
58
{
59
- Skip . If ( VersionUtils . PSEdition == "Core" , "OmniSharp records are broken!" ) ;
60
59
( _ , IEnumerable < CompletionItem > results ) = await GetCompletionResultsAsync ( CompleteCommandInFile . SourceDetails ) . ConfigureAwait ( true ) ;
61
60
CompletionItem actual = Assert . Single ( results ) ;
62
61
Assert . Equal ( CompleteCommandInFile . ExpectedCompletion , actual ) ;
63
62
}
64
63
65
- [ SkippableFact ]
64
+ [ Fact ]
66
65
public async Task CompletesCommandFromModule ( )
67
66
{
68
- Skip . If ( VersionUtils . PSEdition == "Core" , "OmniSharp records are broken!" ) ;
69
67
( _ , IEnumerable < CompletionItem > results ) = await GetCompletionResultsAsync ( CompleteCommandFromModule . SourceDetails ) . ConfigureAwait ( true ) ;
70
68
CompletionItem actual = Assert . Single ( results ) ;
71
69
// NOTE: The tooltip varies across PowerShell and OS versions, so we ignore it.
@@ -76,7 +74,6 @@ public async Task CompletesCommandFromModule()
76
74
[ SkippableFact ]
77
75
public async Task CompletesTypeName ( )
78
76
{
79
- Skip . If ( VersionUtils . PSEdition == "Core" , "OmniSharp records are broken!" ) ;
80
77
Skip . If ( VersionUtils . PSEdition == "Desktop" , "Windows PowerShell has trouble with this test right now." ) ;
81
78
( _ , IEnumerable < CompletionItem > results ) = await GetCompletionResultsAsync ( CompleteTypeName . SourceDetails ) . ConfigureAwait ( true ) ;
82
79
CompletionItem actual = Assert . Single ( results ) ;
@@ -98,26 +95,23 @@ public async Task CompletesTypeName()
98
95
[ SkippableFact ]
99
96
public async Task CompletesNamespace ( )
100
97
{
101
- Skip . If ( VersionUtils . PSEdition == "Core" , "OmniSharp records are broken!" ) ;
102
98
Skip . If ( VersionUtils . PSEdition == "Desktop" , "Windows PowerShell has trouble with this test right now." ) ;
103
99
( _ , IEnumerable < CompletionItem > results ) = await GetCompletionResultsAsync ( CompleteNamespace . SourceDetails ) . ConfigureAwait ( true ) ;
104
100
CompletionItem actual = Assert . Single ( results ) ;
105
101
Assert . Equal ( CompleteNamespace . ExpectedCompletion , actual ) ;
106
102
}
107
103
108
- [ SkippableFact ]
104
+ [ Fact ]
109
105
public async Task CompletesVariableInFile ( )
110
106
{
111
- Skip . If ( VersionUtils . PSEdition == "Core" , "OmniSharp records are broken!" ) ;
112
107
( _ , IEnumerable < CompletionItem > results ) = await GetCompletionResultsAsync ( CompleteVariableInFile . SourceDetails ) . ConfigureAwait ( true ) ;
113
108
CompletionItem actual = Assert . Single ( results ) ;
114
109
Assert . Equal ( CompleteVariableInFile . ExpectedCompletion , actual ) ;
115
110
}
116
111
117
- [ SkippableFact ]
112
+ [ Fact ]
118
113
public async Task CompletesAttributeValue ( )
119
114
{
120
- Skip . If ( VersionUtils . PSEdition == "Core" , "OmniSharp records are broken!" ) ;
121
115
( _ , IEnumerable < CompletionItem > results ) = await GetCompletionResultsAsync ( CompleteAttributeValue . SourceDetails ) . ConfigureAwait ( true ) ;
122
116
// NOTE: Since the completions come through un-ordered from PowerShell, their SortText
123
117
// (which has an index prepended from the original order) will mis-match our assumed
@@ -128,10 +122,9 @@ public async Task CompletesAttributeValue()
128
122
actual => Assert . Equal ( actual with { Data = null , SortText = null } , CompleteAttributeValue . ExpectedCompletion3 ) ) ;
129
123
}
130
124
131
- [ SkippableFact ]
125
+ [ Fact ]
132
126
public async Task CompletesFilePath ( )
133
127
{
134
- Skip . If ( VersionUtils . PSEdition == "Core" , "OmniSharp records are broken!" ) ;
135
128
( _ , IEnumerable < CompletionItem > results ) = await GetCompletionResultsAsync ( CompleteFilePath . SourceDetails ) . ConfigureAwait ( true ) ;
136
129
Assert . NotEmpty ( results ) ;
137
130
CompletionItem actual = results . First ( ) ;
0 commit comments