diff --git a/crates/rangular-expr/src/pipe.rs b/crates/rangular-expr/src/pipe.rs index 153a71a..f155ac8 100644 --- a/crates/rangular-expr/src/pipe.rs +++ b/crates/rangular-expr/src/pipe.rs @@ -204,6 +204,10 @@ mod tests { reg.apply("uppercase", &Value::Str("x".into()), &[Value::Num(1.0)]), Err(EvalError::TypeMismatch(_)) )); + assert!(matches!( + reg.apply("lowercase", &Value::Str("x".into()), &[Value::Num(1.0)]), + Err(EvalError::TypeMismatch(_)) + )); assert!(matches!( reg.apply("json", &Value::Unit, &[Value::Str("x".into())]), Err(EvalError::TypeMismatch(_))