Skip to content

Commit c0f2921

Browse files
authored
Update custom_types.rs
1 parent ab807ad commit c0f2921

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/custom_types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ async fn custom_types_round_trip() {
7070
let connection = &mut connection().await;
7171

7272
// Try encoding an array to test type metadata lookup
73-
let selected = select([MyEnum::Foo, MyEnum::Bar].into_sql::<sql_types::Array<MyType>>())
73+
let selected = select(vec![MyEnum::Foo, MyEnum::Bar].into_sql::<sql_types::Array<MyType>>())
7474
.get_result(connection)
7575
.await
7676
.unwrap();

0 commit comments

Comments
 (0)