Skip to content

Commit

Permalink
LF-101 Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
duhnnie committed Dec 23, 2023
1 parent d8ced3c commit 7d835f6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,11 @@ lastFM.User.getRecentTracks(params: recentTrackParams) { result in
case .LastFMServiceError(let lastfmErrorType, let message):
print(lastfmErrorType, message)
case .NoData:
print("No data was returned")
print("No data was returned.")
case .OtherError(let error):
print("An error ocurred \(error)")
print("An error ocurred: \(error)")
case .NoSessionKey:
print("No session key provided.")
}
case .success(let obj):
for track in obj.items {
Expand Down Expand Up @@ -149,7 +151,7 @@ LastFM.swift is supported by Linux. However running the tests results in a fatal
```
Fatal error: Constant strings cannot be deallocated
```
So that's why some test running in GitHub Actions. Anyway, you can run tests locally by running:
So that's why some test running in GitHub Actions. Anyway, you can run the tests in a local Docker container (it has a different Swift version) by running:
```
./runLinuxTests.sh
```
Expand Down

0 comments on commit 7d835f6

Please sign in to comment.