Skip to content

Commit 076af88

Browse files
dblythycbaker6
andauthored
Update Tests/ParseSwiftTests/ParseErrorTests.swift
Co-authored-by: Corey <[email protected]>
1 parent ae4eff6 commit 076af88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/ParseSwiftTests/ParseErrorTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class ParseErrorTests: XCTestCase {
5050
func testEncodeOther() throws {
5151
let code = 2000
5252
let message = "testing ParseError"
53-
guard let encoded: Data = "{\"error\":\"\(message)\",\"code\":\(code)}".data(using: .utf8) else {
53+
guard let encoded = "{\"error\":\"\(message)\",\"code\":\(code)}".data(using: .utf8) else {
5454
XCTFail("Should have unwrapped")
5555
return
5656
}

0 commit comments

Comments
 (0)