Fix inconsistent parameter naming in core Truth subjects.

This change standardizes parameter names across various Subject classes in the `core/src/main/java/com/google/common/truth` directory.

Key changes include:
- Renaming `other` to `expected` in methods like `isNotEqualTo`, `isNotSameInstanceAs`, and in comparison methods within `ComparableSubject`, `DoubleSubject`, `FloatSubject`, and `LongSubject`.
- Standardizing sequence/string/prefix/suffix parameters in `StringSubject`.
- Ensuring `expected` or `element` is used consistently in `IterableSubject` and its `UsingCorrespondence` class.
- Aligning `value` to `expectedValue` in `MapSubject.UsingCorrespondence.doesNotContainEntry` and `MultimapSubject.UsingCorrespondence.doesNotContainEntry`.
10 files changed
tree: b25aa417cefb069df7bb60a8b4cb784e728ba5e0
  1. .github/
  2. core/
  3. extensions/
  4. javadoc-link/
  5. refactorings/
  6. util/
  7. .gitignore
  8. CONTRIBUTING.md
  9. LICENSE
  10. overview.html
  11. pom.xml
  12. README.md
README.md

Main Site Build Status Maven Release Stackoverflow

What is Truth?

Truth makes your test assertions and failure messages more readable. Similar to AssertJ, it natively supports many JDK and Guava types, and it is extensible to others.

Truth is owned and maintained by the Guava team. It is used in the majority of the tests in Google’s own codebase.

Read more at the main website.