Skip to content

Commit fc25475

Browse files
committed
add a test for 9421138
1 parent b843049 commit fc25475

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/webserver/database/sql.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,11 +446,11 @@ mod test {
446446
fn test_static_extract() {
447447
assert_eq!(
448448
extract_static_simple_select(&parse_stmt(
449-
"select 'hello' as hello, 42 as answer, null as nothing"
449+
"select 'hello' as hello, 42 as answer, null as nothing, 'world' as hello"
450450
)),
451451
Some(
452452
serde_json::json!({
453-
"hello": "hello",
453+
"hello": ["hello", "world"],
454454
"answer": 42,
455455
"nothing": (),
456456
})

0 commit comments

Comments
 (0)