Skip to content

Commit

Permalink
Skip FindsDetailsForBuiltInCommand on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
andyleejordan committed Jan 27, 2023
1 parent 1829093 commit be3e601
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
using Microsoft.PowerShell.EditorServices.Test.Shared.References;
using Microsoft.PowerShell.EditorServices.Test.Shared.SymbolDetails;
using Microsoft.PowerShell.EditorServices.Test.Shared.Symbols;
using Microsoft.PowerShell.EditorServices.Utility;
using Xunit;

namespace PowerShellEditorServices.Test.Language
Expand Down Expand Up @@ -721,9 +722,10 @@ public async Task FindsReferencesOnEnumMember()
Assert.Equal(symbols, GetOccurrences(FindsOccurrencesOnTypeSymbolsData.EnumMemberSourceDetails));
}

[Fact]
[SkippableFact]
public async Task FindsDetailsForBuiltInCommand()
{
Skip.If(VersionUtils.IsLinux, "This gets longer documentation on Linux.");
SymbolDetails symbolDetails = await symbolsService.FindSymbolDetailsAtLocationAsync(
GetScriptFile(FindsDetailsForBuiltInCommandData.SourceDetails),
FindsDetailsForBuiltInCommandData.SourceDetails.StartLineNumber,
Expand Down

0 comments on commit be3e601

Please sign in to comment.