From 8048b4e655bc47a2d24faa8eadde3d30144d2b25 Mon Sep 17 00:00:00 2001 From: Lauri Virtanen Date: Sun, 8 Sep 2024 19:28:58 +0300 Subject: [PATCH] Add missing assertion to `substring()` test --- core/vdbe/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/vdbe/mod.rs b/core/vdbe/mod.rs index f74ccd368..4b0bafcad 100644 --- a/core/vdbe/mod.rs +++ b/core/vdbe/mod.rs @@ -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 + ); } }