File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
pkl-commons-cli/src/main/kotlin/org/pkl/commons/cli/commands
pkl-core/src/test/kotlin/org/pkl/core/http Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ class BaseOptions : OptionGroup() {
130130 option(
131131 names = arrayOf(" --ca-certificates" ),
132132 metavar = " <path>" ,
133- help = " Trust CA certificates from the provided file."
133+ help = " Only trust CA certificates from the provided file(s) ."
134134 )
135135 .path()
136136 .multiple()
Original file line number Diff line number Diff line change @@ -95,15 +95,15 @@ class HttpClientTest {
9595 }
9696
9797 @Test
98- fun `can load certificates from default location` (@TempDir userHome : Path ) {
99- val certFile = userHome .resolve(" .pkl" )
98+ fun `can load certificates from default location` (@TempDir tempDir : Path ) {
99+ val certFile = tempDir .resolve(" .pkl" )
100100 .resolve(" cacerts" )
101101 .createDirectories()
102102 .resolve(" certs.pem" )
103103 FileTestUtils .selfSignedCertificate.copyTo(certFile)
104104
105105 assertDoesNotThrow {
106- HttpClientBuilder (userHome ).addDefaultCliCertificates().build()
106+ HttpClientBuilder (tempDir ).addDefaultCliCertificates().build()
107107 }
108108 }
109109
You can’t perform that action at this time.
0 commit comments