File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
tokio-postgres/tests/test/types Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11#[ cfg( feature = "with-geo-types-0_7" ) ]
2- use geo_types_07:: { Coordinate , LineString , Point , Rect } ;
2+ use geo_types_07:: { Coord , LineString , Point , Rect } ;
33
44use crate :: types:: test_type;
55
@@ -23,8 +23,8 @@ async fn test_box_params() {
2323 & [
2424 (
2525 Some ( Rect :: new (
26- Coordinate { x : -3.2 , y : 1.618 } ,
27- Coordinate {
26+ Coord { x : -3.2 , y : 1.618 } ,
27+ Coord {
2828 x : 160.0 ,
2929 y : 69701.5615 ,
3030 } ,
@@ -40,9 +40,9 @@ async fn test_box_params() {
4040#[ tokio:: test]
4141async fn test_path_params ( ) {
4242 let points = vec ! [
43- Coordinate { x: 0. , y: 0. } ,
44- Coordinate { x: -3.2 , y: 1.618 } ,
45- Coordinate {
43+ Coord { x: 0. , y: 0. } ,
44+ Coord { x: -3.2 , y: 1.618 } ,
45+ Coord {
4646 x: 160.0 ,
4747 y: 69701.5615 ,
4848 } ,
You can’t perform that action at this time.
0 commit comments