Skip to content

Commit

Permalink
fix verify check when not windows
Browse files Browse the repository at this point in the history
  • Loading branch information
shruti0085 committed Jan 27, 2025
1 parent e40185d commit 4b9abb7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ final void testGetLspInstallationWithOverride(final boolean isWindows, final Str

// verify proper posix permissions given platform
mockedStaticArtifactUtils.verify(() -> ArtifactUtils.hasPosixFilePermissions(any(Path.class)));
verifyPosixPermissions(serverCommand, isWindows);
verifyPosixPermissions(serverCommand, !isWindows);

// verify calling getLspInstallation again returns same instance
LspInstallResult secondResult = lspManager.getLspInstallation();
Expand Down

0 comments on commit 4b9abb7

Please sign in to comment.