Skip to content

Fix tests in Language/LanguageServiceTests.cs #1445

Closed
@andyleejordan

Description

@andyleejordan

This file has most of its tests in place, but there are a few that need fixing:

[Fact(Skip = "TODO Fix this test. A possible bug in PSES product code.")]
public void LanguageServiceFindsReferencesOnCommandWithAlias()

[Fact(Skip = "TODO Fix this test. A possible bug in PSES product code.")]
public void LanguageServiceFindsReferencesOnAlias()

// TODO: Bring this back when we can use AstVisitor2 again (#276)
//Assert.Equal(1, symbolsResult.FoundOccurrences.Where(r => r.SymbolType == SymbolType.Configuration).Count());
//SymbolReference firstConfigurationSymbol = symbolsResult.FoundOccurrences.Where(r => r.SymbolType == SymbolType.Configuration).First();
//Assert.Equal("AConfiguration", firstConfigurationSymbol.SymbolName);
//Assert.Equal(25, firstConfigurationSymbol.ScriptRegion.StartLineNumber);
//Assert.Equal(1, firstConfigurationSymbol.ScriptRegion.StartColumnNumber);

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions