@@ -17,7 +17,7 @@ namespace Microsoft.PowerShell.EditorServices.Test.Language
17
17
public class SemanticTokenTest
18
18
{
19
19
[ Fact ]
20
- public async Task TokenizesFunctionElements ( )
20
+ public void TokenizesFunctionElements ( )
21
21
{
22
22
string text = @"
23
23
function Get-Sum {
@@ -59,7 +59,7 @@ function Get-Sum {
59
59
}
60
60
61
61
[ Fact ]
62
- public async Task TokenizesStringExpansion ( )
62
+ public void TokenizesStringExpansion ( )
63
63
{
64
64
string text = "Write-Host \" $(Test-Property Get-Whatever) $(Get-Whatever)\" " ;
65
65
ScriptFile scriptFile = new ScriptFile (
@@ -82,7 +82,7 @@ public async Task TokenizesStringExpansion()
82
82
}
83
83
84
84
[ Fact ]
85
- public async Task RecognizesTokensWithAsterisk ( )
85
+ public void RecognizesTokensWithAsterisk ( )
86
86
{
87
87
string text = @"
88
88
function Get-A*A {
@@ -111,7 +111,7 @@ function Get-A*A {
111
111
}
112
112
113
113
[ Fact ]
114
- public async Task RecognizesArrayPropertyInExpandableString ( )
114
+ public void RecognizesArrayPropertyInExpandableString ( )
115
115
{
116
116
string text = "\" $(@($Array).Count) OtherText\" " ;
117
117
ScriptFile scriptFile = new ScriptFile (
@@ -136,7 +136,7 @@ public async Task RecognizesArrayPropertyInExpandableString()
136
136
}
137
137
138
138
[ Fact ]
139
- public async Task RecognizesCurlyQuotedString ( )
139
+ public void RecognizesCurlyQuotedString ( )
140
140
{
141
141
string text = "“^[-'a-z]*”" ;
142
142
ScriptFile scriptFile = new ScriptFile (
@@ -150,7 +150,7 @@ public async Task RecognizesCurlyQuotedString()
150
150
}
151
151
152
152
[ Fact ]
153
- public async Task RecognizeEnum ( )
153
+ public void RecognizeEnum ( )
154
154
{
155
155
string text = @"
156
156
enum MyEnum{
0 commit comments