blob: 09f5ef01c10c389d92c9b18e3568f1bd110fa3d1 [file] [log] [blame]
.. title:: clang-tidy - objc-assert-equals
objc-assert-equals
==================
Finds improper usages of `XCTAssertEqual` and `XCTAssertNotEqual` and replaces
them with `XCTAssertEqualObjects` or `XCTAssertNotEqualObjects`.
This makes tests less fragile, as many improperly rely on pointer equality for
strings that have equal values. This assumption is not guaranteed by the
language.