You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19Lines changed: 19 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -253,6 +253,25 @@ For a real world use case we modified Apple's [Landmarks](https://developer.appl
253
253
254
254
### `expectNoDifference`
255
255
256
+
<table>
257
+
<tr>
258
+
<th>expectNoDifference</th>
259
+
<th>#expect</th>
260
+
</tr>
261
+
<trvalign=top>
262
+
<tdwidth=50%>
263
+
264
+

265
+
266
+
</td>
267
+
<tdwidth=50%>
268
+
269
+

270
+
271
+
</td>
272
+
</tr>
273
+
</table>
274
+
256
275
XCTest's `XCTAssertEqual` and Swift Testing's `#expect(_ == _)` both allow you to assert that two values are equal, and if they are not the test suite will fail with a message:
0 commit comments