Skip to content

Commit 65bcd7a

Browse files
authored
Update custom_types.rs
1 parent 7441228 commit 65bcd7a

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
@@ -86,7 +86,7 @@ async fn custom_types_round_trip() {
8686
// Try encoding arrays to test type metadata lookup
8787
let selected_data = (vec![MyEnum::Foo, MyEnum::Bar], vec![0i32], vec![vec![MyEnum::Foo]]);
8888
let selected = select(
89-
selected_data.as_sql::<(Array<MyType>, Array<Integer>, Array<Array<MyType>>)>(),
89+
selected_data.clone().into_sql::<(Array<MyType>, Array<Integer>, Array<Array<MyType>>)>(),
9090
)
9191
.get_result::<(Vec<MyEnum>, Vec<i32>, Vec<Vec<MyEnum>>)>(connection)
9292
.await

0 commit comments

Comments
 (0)