Sign in
chromium
/
external
/
github.com
/
google
/
error-prone
/
refs/heads/copybara-sync
/
.
/
docs
/
bugpattern
/
AssertEqualsArgumentOrderChecker.md
blob: 622758ba6055fdf6cf6fa7e52d7b306e9f34299d [
file
] [
log
] [
blame
] [
view
] [
edit
]
JUnit
's assertEquals (and similar) are defined to take the expected value first
and the actual value second. Getting these the wrong way round will cause a
confusing error message if the assertion fails.