internal/core/adt: fix NotEqualOp for lists with differing lengths
A human error meant that both EqualOp and NotEqualOp returned the
boolean "false" when the two values being compared were lists with
different lengths. Clearly, NotEqualOp needs to return "true".
Fix the literal and update the tests with CUE_UPDATE=true.
With thanks to Tianxin Dong for reporting the bug,
and to both Anton Gyllenberg and Pieter Emmelot for recognizing
what the one-line fix would be.
Fixes #2042.
Signed-off-by: Daniel Martí <mvdan@mvdan.cc>
Change-Id: Id34c931f243f3e4d135c1f39090e9172643cf941
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/552352
Unity-Result: CUEcueckoo <cueckoo@cuelang.org>
TryBot-Result: CUEcueckoo <cueckoo@cuelang.org>
Reviewed-by: Paul Jolly <paul@myitcv.io>