We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
isEqualToIgnoringGivenProperties
data class Obj(val publicStr: String, private val privateStr: String) @Test fun t() { val obj1 = Obj("public", "private1") val obj2 = Obj("public", "private2") assertThat(obj1).isEqualToIgnoringGivenProperties(obj2, MyClass::publicStr) }
This test results in successful assertion, despite that private fields values is different.
assertkVer: 0.28.1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This test results in successful assertion, despite that private fields values is different.
assertkVer: 0.28.1
The text was updated successfully, but these errors were encountered: