mirror of
https://github.com/gosticks/SwiftGit2.git
synced 2025-10-16 11:55:34 +00:00
This is the first of a series of commits intended to resolve issue #10, which calls for proper error handling. One way to test that libgit2 error messages are being propagated through Result failures is by asserting that the error's description or code match the message or code we expect. In order to do so, LlamaKit's ErrorType is unweildy, and not future-proof--it would be easier and safer to write assertions based on NSError. Upgrade LlamaKit to v0.5.0, the latest version that supports Swift 1.1, in order to define results as type `Result<T, NSError>`. |
||
|---|---|---|
| .. | ||
| Fixtures | ||
| FixturesSpec.swift | ||
| Info.plist | ||
| ObjectsSpec.swift | ||
| OIDSpec.swift | ||
| ReferencesSpec.swift | ||
| RemotesSpec.swift | ||
| RepositorySpec.swift | ||