From 7f857627ef32afaf7a5d121f93fe9a08d7a9f020 Mon Sep 17 00:00:00 2001 From: Chris Markiewicz Date: Thu, 19 Oct 2023 15:19:07 -0400 Subject: [PATCH] FIX: Expressions again --- src/schema/meta/expression_tests.yaml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/src/schema/meta/expression_tests.yaml b/src/schema/meta/expression_tests.yaml index 3df5a8610e..e1f06fdedc 100644 --- a/src/schema/meta/expression_tests.yaml +++ b/src/schema/meta/expression_tests.yaml @@ -1,13 +1,13 @@ --- # null fall-through logic -- expression: sidecar.MissingValue != true - result: true -- expression: null.anything != true - result: true +- expression: sidecar.MissingValue + result: null +- expression: null.anything + result: null - expression: (null) result: null -- expression: null[0] != true - result: true +- expression: null[0] + result: null - expression: null && true result: null - expression: true && null @@ -27,7 +27,7 @@ - expression: intersects(null, []) result: false - expression: match(null, 'pattern') - result: false + result: null - expression: match('string', null) result: false - expression: substr(null, 1, 4) @@ -59,11 +59,13 @@ - expression: null == 1 result: false - expression: '"VolumeTiming" in null' - result: false + result: null - expression: exists(null, "bids-uri") result: 0 - expression: exists([], null) result: 0 +- expression: true || sidecar.MissingValue + result: true # General expressions - expression: 1 + 2