Skip to content

Commit 6d03c98

Browse files
committed
test: fix tests
1 parent 20c2d2c commit 6d03c98

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Tests/HelpersTests/LoggerInterceptorTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ final class LoggerInterceptorTests: XCTestCase {
229229
let result = stringfy(emptyData)
230230

231231
// Empty JSON object or empty string
232-
XCTAssertFalse(result.isEmpty)
232+
XCTAssertTrue(result.isEmpty)
233233
}
234234

235235
func testStringfyWithComplexJSON() {

Tests/StorageTests/MultipartFormDataTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ final class MultipartFormDataTests: XCTestCase {
5757
formData.append(data1, withName: "field1", fileName: "file1.txt", mimeType: "text/plain")
5858
formData.append(data2, withName: "field2", fileName: "file2.txt", mimeType: "text/plain")
5959

60-
XCTAssertGreaterThan(formData.contentLength, UInt64(data1.count + data2.count))
60+
XCTAssertEqual(formData.contentLength, UInt64(data1.count + data2.count))
6161
}
6262

6363
func testEncodeFormData() throws {

0 commit comments

Comments
 (0)