Skip to content

Commit fb0fbdd

Browse files
committed
Fix test
1 parent e99a3c6 commit fb0fbdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/types/array.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ use postgres::types::array::{DimensionInfo, ArrayBase, Array, MutableArray};
33
#[test]
44
fn test_from_vec() {
55
let a = ArrayBase::from_vec(vec!(0i, 1, 2), -1);
6-
assert!([DimensionInfo { len: 3, lower_bound: -1 }] ==
6+
assert!([DimensionInfo { len: 3, lower_bound: -1 }][] ==
77
a.dimension_info());
88
assert_eq!(&0, a.get(-1));
99
assert_eq!(&1, a.get(0));

0 commit comments

Comments
 (0)