Skip to content

Commit

Permalink
Fix merge error
Browse files Browse the repository at this point in the history
  • Loading branch information
desplesda committed Nov 8, 2023
1 parent 3ea87c2 commit f8f734a
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions YarnSpinner.LanguageServer.Tests/WorkspaceTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,26 +76,6 @@ public void Workspaces_WithNoProjects_HaveImplicitProject()

}


[Fact]
public void Workspaces_WithDefsJsonAndNoProject_FindsCommands()
{
// Given
var workspace = new Workspace();
workspace.Root = NoProjectPath;

// When
workspace.Initialize();

// Then
var project = workspace.Projects.Should().ContainSingle().Subject;
project.Commands.Should().Contain(c => c.YarnName == "custom_command");
project.Functions.Should().Contain(f => f.YarnName == "custom_function");

project.Diagnostics.Should().NotContain(d => d.Severity == Yarn.Compiler.Diagnostic.DiagnosticSeverity.Warning);
project.Diagnostics.Should().NotContain(d => d.Severity == Yarn.Compiler.Diagnostic.DiagnosticSeverity.Error);
}

[Fact]
public void ActionsDefFile_ParsesCorrectly()
{
Expand Down

0 comments on commit f8f734a

Please sign in to comment.