Skip to content

Commit

Permalink
fix: Allow derived MockLanguageServer for derived servers.
Browse files Browse the repository at this point in the history
By changing the visibility of the MockLanguageServer constructor from
private to protected.
  • Loading branch information
andrewL-avlq committed Oct 7, 2024
1 parent 75c65fd commit a4005ac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public static void reset(final Supplier<ServerCapabilities> serverConfigurer) {
INSTANCE = new MockLanguageServer(serverConfigurer);
}

private MockLanguageServer(final Supplier<ServerCapabilities> serverConfigurer) {
protected MockLanguageServer(final Supplier<ServerCapabilities> serverConfigurer) {
resetInitializeResult(serverConfigurer);
}

Expand Down

0 comments on commit a4005ac

Please sign in to comment.