Skip to content

Commit 1560138

Browse files
Updated missing changes
1 parent 711bcef commit 1560138

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

test/JsonRpc.Tests/AutoNSubstitute/AutoTestBase.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ protected AutoTestBase(ITestOutputHelper testOutputHelper, Action<ContainerBuild
3131
};
3232
}
3333

34-
protected AutoTestBase()
35-
{
36-
throw new NotImplementedException();
37-
}
38-
3934
public ILoggerFactory LoggerFactory { get; }
4035
public ILogger Logger { get; }
4136
public IServiceCollection Services { get; } = new ServiceCollection();

test/Lsp.Tests/Capabilities/Client/WorkspaceClientCapabilitiesTests.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,16 @@
66
using OmniSharp.Extensions.LanguageServer.Protocol.Client.Capabilities;
77
using OmniSharp.Extensions.LanguageServer.Protocol.Serialization;
88
using Xunit;
9+
using Xunit.Abstractions;
910

1011
namespace Lsp.Tests.Capabilities.Client
1112
{
1213
public class WorkspaceClientCapabilitiesTests : AutoTestBase
1314
{
15+
public WorkspaceClientCapabilitiesTests(ITestOutputHelper testOutputHelper) : base(testOutputHelper)
16+
{
17+
}
18+
1419
[Theory, JsonFixture]
1520
public void SimpleTest(string expected)
1621
{
@@ -28,7 +33,7 @@ public void SimpleTest(string expected)
2833
result.Should().Be(expected);
2934

3035
var deresult = new Serializer(ClientVersion.Lsp3).DeserializeObject<WorkspaceClientCapabilities>(expected);
31-
deresult.Should().BeEquivalentTo(model);
36+
deresult.Should().BeEquivalentTo(model, o => o.ConfigureForSupports(Logger));
3237
}
3338

3439
[Theory, JsonFixture]

0 commit comments

Comments
 (0)