File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -263,11 +263,11 @@ mod tests {
263
263
}
264
264
265
265
#[ test]
266
- fn test_maybe_transaction ( ) {
266
+ fn test_maybe_batch ( ) {
267
267
let ( _temp_path, mut ds) = open_gpkg_for_update ( & fixture ( "poly.gpkg" ) ) ;
268
268
let orig_feature_count = ds. layer ( 0 ) . unwrap ( ) . feature_count ( ) ;
269
269
270
- let res = ds. maybe_transaction ( |d| {
270
+ let res = ds. maybe_batch ( |d| {
271
271
let mut layer = d. layer ( 0 ) . unwrap ( ) ;
272
272
layer. create_feature ( polygon ( ) )
273
273
} ) ;
@@ -276,11 +276,11 @@ mod tests {
276
276
}
277
277
278
278
#[ test]
279
- fn test_maybe_transaction_unsupported ( ) {
279
+ fn test_maybe_batch_unsupported ( ) {
280
280
let ( _temp_path, mut ds) = open_dataset_for_update ( & fixture ( "roads.geojson" ) ) ;
281
281
let orig_feature_count = ds. layer ( 0 ) . unwrap ( ) . feature_count ( ) ;
282
282
283
- let res = ds. maybe_transaction ( |d| {
283
+ let res = ds. maybe_batch ( |d| {
284
284
let mut layer = d. layer ( 0 ) . unwrap ( ) ;
285
285
layer. create_feature ( polygon ( ) )
286
286
} ) ;
You can’t perform that action at this time.
0 commit comments