From 2c1412657e781815e3c7ffb86f5845227148ae48 Mon Sep 17 00:00:00 2001 From: Benjamin Naecker Date: Fri, 6 Dec 2024 16:03:07 -0800 Subject: [PATCH] Fixup test for incomparable fields --- oximeter/db/src/oxql/plan/plan.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oximeter/db/src/oxql/plan/plan.rs b/oximeter/db/src/oxql/plan/plan.rs index e8048a0127..dfd6cdd29d 100644 --- a/oximeter/db/src/oxql/plan/plan.rs +++ b/oximeter/db/src/oxql/plan/plan.rs @@ -1233,7 +1233,7 @@ mod tests { "Should fail to plan query with an incomparable filter", ); assert!( - err.to_string().contains("is not compatible with the field"), + err.to_string().contains("is not compatible with the expected type"), "Error message should complain that a filter cannot compare \ a field against an incompatible type, but the error message is: {:#?}", err,