Test: caseNullWhenNullDoesNotMatch (line 201)
Cypher query to execute:
RETURN CASE null WHEN null THEN 'matched' ELSE 'not_matched' END AS result
Expected behavior:
CASE null WHEN null THEN 'matched' ELSE 'not_matched' END should return 'not_matched'
ArcadeDB result:
Neo4j result:
{"result": "not_matched"}
In a simple CASE expression, null should never equal null. The comparison null = null yields null, not true, so the ELSE branch should be taken.
Test:
caseNullWhenNullDoesNotMatch(line 201)Cypher query to execute:
Expected behavior:
ArcadeDB result:
{"result": "matched"}Neo4j result:
{"result": "not_matched"}In a simple CASE expression,
nullshould never equalnull. The comparisonnull = nullyieldsnull, nottrue, so the ELSE branch should be taken.