mirror of
https://github.com/mas-cli/mas
synced 2024-11-23 20:13:19 +00:00
Improve lucky
& search
error message.
Partial #533 Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
This commit is contained in:
parent
05674b2534
commit
31dfe81174
2 changed files with 2 additions and 2 deletions
|
@ -85,7 +85,7 @@ extension MASError: CustomStringConvertible {
|
|||
case .searchFailed:
|
||||
return "Search failed"
|
||||
case .noSearchResultsFound:
|
||||
return "No results found"
|
||||
return "No apps found"
|
||||
case .unknownAppID(let appID):
|
||||
return "Unknown app ID \(appID)"
|
||||
case .noVendorWebsite:
|
||||
|
|
|
@ -100,7 +100,7 @@ class MASErrorTestCase: XCTestCase {
|
|||
|
||||
func testNoSearchResultsFound() {
|
||||
error = .noSearchResultsFound
|
||||
XCTAssertEqual(error.description, "No results found")
|
||||
XCTAssertEqual(error.description, "No apps found")
|
||||
}
|
||||
|
||||
func testNoVendorWebsite() {
|
||||
|
|
Loading…
Reference in a new issue