Skip to content

Commit 28e5a25

Browse files
committed
Update tests.
1 parent 1046666 commit 28e5a25

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

Tests/EchoTests/EchoTests.swift

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,14 @@ final class EchoTests: XCTestCase {
6868
"dates": [now]
6969
])
7070

71-
XCTAssert(result.string == "héllo&gøod+bye?"
72-
&& result.strings == ["a", "b", "c"]
73-
&& result.number == 123
74-
&& result.numbers == [1, 2, 3]
75-
&& result.flag == true
76-
&& result.dayOfWeek == .monday
77-
&& result.date == now
78-
&& result.dates == [now])
71+
XCTAssert(result.string == "héllo&gøod+bye?")
72+
XCTAssert(result.strings == ["a", "b", "c"])
73+
XCTAssert(result.number == 123)
74+
XCTAssert(result.numbers == [1, 2, 3])
75+
XCTAssert(result.flag == true)
76+
XCTAssert(result.dayOfWeek == .monday)
77+
XCTAssert(result.date == now)
78+
XCTAssert(result.dates == [now])
7979
}
8080

8181
func testGetFibonacci() async throws {
@@ -111,11 +111,11 @@ final class EchoTests: XCTestCase {
111111

112112
let result: Body = try await EchoTests.webServiceProxy.invoke(.post, path: "test/body", body: body)
113113

114-
XCTAssert(result.string == "héllo&gøod+bye?"
115-
&& result.strings == ["a", "b", "c"]
116-
&& result.number == 123
117-
&& result.numbers == [1, 2, 3]
118-
&& result.flag == true)
114+
XCTAssert(result.string == "héllo&gøod+bye?")
115+
XCTAssert(result.strings == ["a", "b", "c"])
116+
XCTAssert(result.number == 123)
117+
XCTAssert(result.numbers == [1, 2, 3])
118+
XCTAssert(result.flag == true)
119119
}
120120

121121
func testImagePost() async throws {

0 commit comments

Comments
 (0)