Fix spelling errors (#846)

Also: change checksums due to filename and content changes, and fix language snippet test output to produce correct error messages
This commit is contained in:
Josh Soref
2024-12-23 15:49:56 -05:00
committed by GitHub
parent a014e8d1d1
commit d9c65d484a
53 changed files with 153 additions and 153 deletions

View File

@@ -40,7 +40,7 @@ class AnalyzeCommand(helpLink: String) :
ModulesCommand(
name = "imports",
helpLink = helpLink,
help = "Prints the the graph of modules imported by the input module(s)."
help = "Prints the graph of modules imported by the input module(s)."
) {
private val outputPath: Path? by

View File

@@ -1242,7 +1242,7 @@ result = someLib.x
}
@Test
fun `gives decent error message if certificate file is emtpy`(@TempDir tempDir: Path) {
fun `gives decent error message if certificate file is empty`(@TempDir tempDir: Path) {
val emptyCerts = tempDir.writeEmptyFile("empty.pem")
val err = assertThrows<CliException> { evalModuleThatImportsPackage(emptyCerts) }
assertThat(err).hasMessageContaining("CA certificate file `${emptyCerts.pathString}` is empty.")
@@ -1313,7 +1313,7 @@ result = someLib.x
val options =
CliEvaluatorOptions(
CliBaseOptions(
sourceModules = listOf(URI("package://localhost:1/birds@0.5.0#/catalog/Ostritch.pkl")),
sourceModules = listOf(URI("package://localhost:1/birds@0.5.0#/catalog/Ostrich.pkl")),
noCache = true,
httpProxy = URI(wwRuntimeInfo.httpBaseUrl),
caCertificates = listOf(FileTestUtils.selfSignedCertificate),
@@ -1324,7 +1324,7 @@ result = someLib.x
assertThat(output)
.isEqualTo(
"""
name = "Ostritch"
name = "Ostrich"
favoriteFruit {
name = "Orange"