Fix typos

This commit is contained in:
Dimitris Apostolou
2024-02-04 18:55:08 +02:00
parent 38f2e9a1cf
commit 80aff3afad
31 changed files with 53 additions and 53 deletions

View File

@@ -85,7 +85,7 @@ class ProjectCommand(helpLink: String) :
This command runs a project's api tests, as defined by `apiTests` in `PklProject`.
Additionally, it verifies that all imports resolve to paths that are local to the project.
Finally, this command writes the folowing artifacts into the output directory specified by the output path.
Finally, this command writes the following artifacts into the output directory specified by the output path.
- `name@version` - dependency metadata$NEWLINE
- `name@version.sha256` - dependency metadata's SHA-256 checksum$NEWLINE

View File

@@ -143,7 +143,7 @@ class CliDownloadPackageCommandTest {
}
@Test
fun `disabling cacheing is an error`(@TempDir tempDir: Path) {
fun `disabling caching is an error`(@TempDir tempDir: Path) {
val cmd =
CliDownloadPackageCommand(
baseOptions = CliBaseOptions(workingDir = tempDir, noCache = true),

View File

@@ -35,7 +35,7 @@ class CliMainTest {
private val cmd = RootCommand("pkl", "pkl version 1", "").subcommands(evalCmd)
@Test
fun `duplicate CLI option produces meaningful errror message`(@TempDir tempDir: Path) {
fun `duplicate CLI option produces meaningful error message`(@TempDir tempDir: Path) {
val inputFile = tempDir.resolve("test.pkl").writeString("").toString()
assertThatCode {

View File

@@ -52,7 +52,7 @@ class CliProjectPackagerTest {
}
@Test
fun `missing PklProject when explict dir is provided`(@TempDir tempDir: Path) {
fun `missing PklProject when explicit dir is provided`(@TempDir tempDir: Path) {
val packager =
CliProjectPackager(
CliBaseOptions(workingDir = tempDir),

View File

@@ -50,7 +50,7 @@ class CliProjectResolverTest {
}
@Test
fun `missing PklProject when explict dir is provided`(@TempDir tempDir: Path) {
fun `missing PklProject when explicit dir is provided`(@TempDir tempDir: Path) {
val packager =
CliProjectResolver(
CliBaseOptions(),