Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinGC94 committed Sep 29, 2024
1 parent 755be05 commit c573418
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,11 @@ function Get-A*A {
Assert.Single(mappedTokens, sToken => SemanticTokenType.Keyword == sToken.Type);
break;
case "Get-A*A":
Assert.Single(mappedTokens, sToken => SemanticTokenType.Function == sToken.Type);
if (t.TokenFlags.HasFlag(TokenFlags.CommandName))
{
Assert.Single(mappedTokens, sToken => SemanticTokenType.Function == sToken.Type);
}

break;
}
}
Expand Down

0 comments on commit c573418

Please sign in to comment.