mirror of
https://github.com/encounter/JSONAPI.git
synced 2026-03-30 11:18:38 -07:00
going through and fleshing out tests. minor adjustments and bug fixes.
This commit is contained in:
@@ -64,6 +64,7 @@ final class GenericJSONAPIErrorTests: XCTestCase {
|
||||
let error = decoded(type: TestGenericJSONAPIError.self, data: data)
|
||||
|
||||
XCTAssertEqual(error, .unknown)
|
||||
XCTAssertEqual(String(describing: error), "unknown error")
|
||||
}
|
||||
|
||||
func test_encode() {
|
||||
|
||||
Reference in New Issue
Block a user