mirror of
https://github.com/apple/pkl.git
synced 2026-05-05 14:43:28 +02:00
Fix typos
This commit is contained in:
@@ -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