@@ -155,7 +155,7 @@ function CanSendWorkspaceSymbolRequest {
155
155
public async Task CanReceiveDiagnosticsFromFileOpenAsync ( )
156
156
{
157
157
Skip . If (
158
- PsesStdioProcess . RunningInConstainedLanguageMode && PsesStdioProcess . IsWindowsPowerShell ,
158
+ PsesStdioProcess . RunningInConstrainedLanguageMode && PsesStdioProcess . IsWindowsPowerShell ,
159
159
"Windows PowerShell doesn't trust PSScriptAnalyzer by default so it won't load." ) ;
160
160
161
161
NewTestFile ( "$a = 4" ) ;
@@ -178,7 +178,7 @@ public async Task WontReceiveDiagnosticsFromFileOpenThatIsNotPowerShellAsync()
178
178
public async Task CanReceiveDiagnosticsFromFileChangedAsync ( )
179
179
{
180
180
Skip . If (
181
- PsesStdioProcess . RunningInConstainedLanguageMode && PsesStdioProcess . IsWindowsPowerShell ,
181
+ PsesStdioProcess . RunningInConstrainedLanguageMode && PsesStdioProcess . IsWindowsPowerShell ,
182
182
"Windows PowerShell doesn't trust PSScriptAnalyzer by default so it won't load." ) ;
183
183
184
184
string filePath = NewTestFile ( "$a = 4" ) ;
@@ -230,7 +230,7 @@ public async Task CanReceiveDiagnosticsFromFileChangedAsync()
230
230
public async Task CanReceiveDiagnosticsFromConfigurationChangeAsync ( )
231
231
{
232
232
Skip . If (
233
- PsesStdioProcess . RunningInConstainedLanguageMode && PsesStdioProcess . IsWindowsPowerShell ,
233
+ PsesStdioProcess . RunningInConstrainedLanguageMode && PsesStdioProcess . IsWindowsPowerShell ,
234
234
"Windows PowerShell doesn't trust PSScriptAnalyzer by default so it won't load." ) ;
235
235
236
236
NewTestFile ( "gci | % { $_ }" ) ;
@@ -331,7 +331,7 @@ await PsesLanguageClient
331
331
public async Task CanSendFormattingRequestAsync ( )
332
332
{
333
333
Skip . If (
334
- PsesStdioProcess . RunningInConstainedLanguageMode && PsesStdioProcess . IsWindowsPowerShell ,
334
+ PsesStdioProcess . RunningInConstrainedLanguageMode && PsesStdioProcess . IsWindowsPowerShell ,
335
335
"Windows PowerShell doesn't trust PSScriptAnalyzer by default so it won't load." ) ;
336
336
337
337
string scriptPath = NewTestFile ( @"
@@ -368,7 +368,7 @@ public async Task CanSendFormattingRequestAsync()
368
368
public async Task CanSendRangeFormattingRequestAsync ( )
369
369
{
370
370
Skip . If (
371
- PsesStdioProcess . RunningInConstainedLanguageMode && PsesStdioProcess . IsWindowsPowerShell ,
371
+ PsesStdioProcess . RunningInConstrainedLanguageMode && PsesStdioProcess . IsWindowsPowerShell ,
372
372
"Windows PowerShell doesn't trust PSScriptAnalyzer by default so it won't load." ) ;
373
373
374
374
string scriptPath = NewTestFile ( @"
@@ -892,7 +892,7 @@ function CanSendReferencesCodeLensRequest {
892
892
public async Task CanSendCodeActionRequestAsync ( )
893
893
{
894
894
Skip . If (
895
- PsesStdioProcess . RunningInConstainedLanguageMode && PsesStdioProcess . IsWindowsPowerShell ,
895
+ PsesStdioProcess . RunningInConstrainedLanguageMode && PsesStdioProcess . IsWindowsPowerShell ,
896
896
"Windows PowerShell doesn't trust PSScriptAnalyzer by default so it won't load." ) ;
897
897
898
898
string filePath = NewTestFile ( "gci" ) ;
@@ -1090,7 +1090,7 @@ await PsesLanguageClient
1090
1090
[ SkippableFact ]
1091
1091
public async Task CanSendGetProjectTemplatesRequestAsync ( )
1092
1092
{
1093
- Skip . If ( PsesStdioProcess . RunningInConstainedLanguageMode , "Plaster doesn't work in ConstrainedLanguage mode." ) ;
1093
+ Skip . If ( PsesStdioProcess . RunningInConstrainedLanguageMode , "Plaster doesn't work in ConstrainedLanguage mode." ) ;
1094
1094
1095
1095
GetProjectTemplatesResponse getProjectTemplatesResponse =
1096
1096
await PsesLanguageClient
@@ -1110,7 +1110,7 @@ await PsesLanguageClient
1110
1110
public async Task CanSendGetCommentHelpRequestAsync ( )
1111
1111
{
1112
1112
Skip . If (
1113
- PsesStdioProcess . RunningInConstainedLanguageMode && PsesStdioProcess . IsWindowsPowerShell ,
1113
+ PsesStdioProcess . RunningInConstrainedLanguageMode && PsesStdioProcess . IsWindowsPowerShell ,
1114
1114
"Windows PowerShell doesn't trust PSScriptAnalyzer by default so it won't load." ) ;
1115
1115
1116
1116
string scriptPath = NewTestFile ( @"
@@ -1183,7 +1183,7 @@ await PsesLanguageClient
1183
1183
public async Task CanSendExpandAliasRequestAsync ( )
1184
1184
{
1185
1185
Skip . If (
1186
- PsesStdioProcess . RunningInConstainedLanguageMode ,
1186
+ PsesStdioProcess . RunningInConstrainedLanguageMode ,
1187
1187
"This feature currently doesn't support ConstrainedLanguage Mode." ) ;
1188
1188
1189
1189
ExpandAliasResult expandAliasResult =
0 commit comments