Skip to content

Commit a61c518

Browse files
committed
[Test] Update error messages in JavaRepositoryTests.swift
1 parent 8e0687b commit a61c518

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/SwiftJavaToolTests/JavaRepositoryTests.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,9 +246,9 @@ private extension SwiftJavaConfigurationShared.Configuration {
246246
print("Published \(packageName) to: \(String.localRepoRootDirectory)".green)
247247
} else {
248248
throw NSError(
249-
domain: "DownloadError",
249+
domain: "PublishError",
250250
code: Int(process.terminationStatus),
251-
userInfo: [NSLocalizedDescriptionKey: "Unzip failed with status \(process.terminationStatus)"]
251+
userInfo: [NSLocalizedDescriptionKey: "Publish failed with status \(process.terminationStatus)"]
252252
)
253253
}
254254
}

0 commit comments

Comments
 (0)