Skip to content

Commit 56e95f6

Browse files
authored
Update custom_types.rs
1 parent c52ebad commit 56e95f6

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
@@ -72,7 +72,7 @@ async fn custom_types_round_trip() {
7272

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

0 commit comments

Comments
 (0)