From cb3e3b98d76aef586fc223d42b7509eeb862530a Mon Sep 17 00:00:00 2001 From: Lauri Virtanen <lauri.virtanen@iki.fi> 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 + ); } }