Skip to content

Commit

Permalink
Add missing assertion to substring() test
Browse files Browse the repository at this point in the history
  • Loading branch information
travenin committed Sep 8, 2024
1 parent 78114d7 commit cb3e3b9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/vdbe/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
);
}
}

0 comments on commit cb3e3b9

Please sign in to comment.