File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -192,13 +192,12 @@ impl OwnedProvenanceTable {
192192#[ cfg( test) ]
193193mod test_provenances {
194194 use super :: * ;
195- use crate :: test_fixtures:: make_empty_table_collection;
196195 use crate :: TableAccess ;
197196
198197 #[ test]
199198 fn test_empty_record_string ( ) {
200199 // check for tables...
201- let mut tables = make_empty_table_collection ( 1.0 ) ;
200+ let mut tables = crate :: TableCollection :: new ( 10. ) . unwrap ( ) ;
202201 let s = String :: from ( "" ) ;
203202 let row_id = tables. add_provenance ( & s) . unwrap ( ) ;
204203 let _ = tables. provenances ( ) . row ( row_id) . unwrap ( ) ;
@@ -215,7 +214,7 @@ mod test_provenances {
215214 #[ test]
216215 fn test_add_rows ( ) {
217216 let records = vec ! [ "banana" . to_string( ) , "split" . to_string( ) ] ;
218- let mut tables = make_empty_table_collection ( 1. ) ;
217+ let mut tables = crate :: TableCollection :: new ( 10. ) . unwrap ( ) ;
219218 for ( i, r) in records. iter ( ) . enumerate ( ) {
220219 let row_id = tables. add_provenance ( r) . unwrap ( ) ;
221220 assert ! ( row_id == ProvenanceId ( i as crate :: tsk_id_t) ) ;
You can’t perform that action at this time.
0 commit comments