mirror of
https://github.com/apple/pkl.git
synced 2026-03-25 10:31:35 +01:00
Fix typos
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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),
|
||||
|
||||
@@ -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(),
|
||||
|
||||
Reference in New Issue
Block a user