Add missing assertion to substring() test

This commit is contained in:
Lauri Virtanen
2024-09-08 19:28:58 +03:00
parent 0d04f0717f
commit 8048b4e655

View File

@@ -2378,5 +2378,9 @@ mod tests {
let start_value = OwnedValue::Integer(10);
let length_value = OwnedValue::Null;
let expected_val = OwnedValue::Text(Rc::new(String::from("")));
assert_eq!(
exec_substring(&str_value, &start_value, &length_value),
expected_val
);
}
}