We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40290ac commit 7dcb3a0Copy full SHA for 7dcb3a0
src/test/java/org/opensearch/commons/rest/TrustStoreTest.java
@@ -20,7 +20,7 @@ public class TrustStoreTest {
20
public void testCreate() throws Exception {
21
String resourceName = "sample.pem";
22
String absolutePath = new File(getClass().getClassLoader().getResource(resourceName).getFile()).getAbsolutePath();
23
- assertTrue(absolutePath.endsWith("/sample.pem"));
+ assertTrue(absolutePath.endsWith(File.separator + "sample.pem"));
24
25
KeyStore store = new TrustStore(absolutePath).create();
26
assertNotNull(store);
0 commit comments