Change in ovirt-engine[master]: core: Fix SyntaxCheckerTest asserts

Allon Mureinik has submitted this change and it was merged. Change subject: core: Fix SyntaxCheckerTest asserts ...................................................................... core: Fix SyntaxCheckerTest asserts Fixed asserts to use equality instead of identity (==, !=). While the JVM usually produces the same literal from the pool this is not a behavior that should be relied on. Instead, logical equality should be checked. Change-Id: I36e9106ae39b4fc0ef0ba315c0a65de04a0267b4 Signed-off-by: Allon Mureinik <amureini@redhat.com> --- M backend/manager/modules/searchbackend/src/test/java/org/ovirt/engine/core/searchbackend/SyntaxCheckerTest.java 1 file changed, 5 insertions(+), 3 deletions(-) Approvals: Tal Nisan: Looks good to me, approved Jenkins CI: Passed CI tests Allon Mureinik: Verified -- To view, visit https://gerrit.ovirt.org/51258 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I36e9106ae39b4fc0ef0ba315c0a65de04a0267b4 Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Daniel Erez <derez@redhat.com> Gerrit-Reviewer: Jenkins CI Gerrit-Reviewer: Moti Asayag <masayag@redhat.com> Gerrit-Reviewer: Oved Ourfali <oourfali@redhat.com> Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: gerrit-hooks <automation@ovirt.org>
participants (1)
-
amureini@redhat.com