@@ -945,7 +945,7 @@ mod tests {
945945
946946 let mut daily: HashMap < String , DailyTotals > = HashMap :: new ( ) ;
947947 daily. insert ( day_key. to_string ( ) , DailyTotals :: default ( ) ) ;
948- let mut model_totals: HashMap < String , i64 > = HashMap :: new ( ) ;
948+ let mut model_totals: HashMap < UsageModelKey , i64 > = HashMap :: new ( ) ;
949949 scan_file ( & path, & mut daily, & mut model_totals, None ) . expect ( "scan file" ) ;
950950
951951 let totals = daily. get ( day_key) . copied ( ) . unwrap_or_default ( ) ;
@@ -963,7 +963,7 @@ mod tests {
963963
964964 let mut daily: HashMap < String , DailyTotals > = HashMap :: new ( ) ;
965965 daily. insert ( day_key. to_string ( ) , DailyTotals :: default ( ) ) ;
966- let mut model_totals: HashMap < String , i64 > = HashMap :: new ( ) ;
966+ let mut model_totals: HashMap < UsageModelKey , i64 > = HashMap :: new ( ) ;
967967 scan_file ( & path, & mut daily, & mut model_totals, None ) . expect ( "scan file" ) ;
968968
969969 let totals = daily. get ( day_key) . copied ( ) . unwrap_or_default ( ) ;
@@ -982,7 +982,7 @@ mod tests {
982982
983983 let mut daily: HashMap < String , DailyTotals > = HashMap :: new ( ) ;
984984 daily. insert ( day_key. to_string ( ) , DailyTotals :: default ( ) ) ;
985- let mut model_totals: HashMap < String , i64 > = HashMap :: new ( ) ;
985+ let mut model_totals: HashMap < UsageModelKey , i64 > = HashMap :: new ( ) ;
986986 scan_file ( & path, & mut daily, & mut model_totals, None ) . expect ( "scan file" ) ;
987987
988988 let totals = daily. get ( day_key) . copied ( ) . unwrap_or_default ( ) ;
@@ -1000,7 +1000,7 @@ mod tests {
10001000
10011001 let mut daily: HashMap < String , DailyTotals > = HashMap :: new ( ) ;
10021002 daily. insert ( day_key. to_string ( ) , DailyTotals :: default ( ) ) ;
1003- let mut model_totals: HashMap < String , i64 > = HashMap :: new ( ) ;
1003+ let mut model_totals: HashMap < UsageModelKey , i64 > = HashMap :: new ( ) ;
10041004 scan_file ( & path, & mut daily, & mut model_totals, None ) . expect ( "scan file" ) ;
10051005
10061006 let totals = daily. get ( day_key) . copied ( ) . unwrap_or_default ( ) ;
@@ -1017,7 +1017,7 @@ mod tests {
10171017
10181018 let mut daily: HashMap < String , DailyTotals > = HashMap :: new ( ) ;
10191019 daily. insert ( day_key. to_string ( ) , DailyTotals :: default ( ) ) ;
1020- let mut model_totals: HashMap < String , i64 > = HashMap :: new ( ) ;
1020+ let mut model_totals: HashMap < UsageModelKey , i64 > = HashMap :: new ( ) ;
10211021 scan_file ( & path, & mut daily, & mut model_totals, None ) . expect ( "scan file" ) ;
10221022
10231023 let totals = daily. get ( day_key) . copied ( ) . unwrap_or_default ( ) ;
@@ -1035,7 +1035,7 @@ mod tests {
10351035
10361036 let mut daily: HashMap < String , DailyTotals > = HashMap :: new ( ) ;
10371037 daily. insert ( day_key. to_string ( ) , DailyTotals :: default ( ) ) ;
1038- let mut model_totals: HashMap < String , i64 > = HashMap :: new ( ) ;
1038+ let mut model_totals: HashMap < UsageModelKey , i64 > = HashMap :: new ( ) ;
10391039 scan_file ( & path, & mut daily, & mut model_totals, None ) . expect ( "scan file" ) ;
10401040
10411041 let totals = daily. get ( day_key) . copied ( ) . unwrap_or_default ( ) ;
@@ -1053,7 +1053,7 @@ mod tests {
10531053
10541054 let mut daily: HashMap < String , DailyTotals > = HashMap :: new ( ) ;
10551055 daily. insert ( day_key. to_string ( ) , DailyTotals :: default ( ) ) ;
1056- let mut model_totals: HashMap < String , i64 > = HashMap :: new ( ) ;
1056+ let mut model_totals: HashMap < UsageModelKey , i64 > = HashMap :: new ( ) ;
10571057 scan_file (
10581058 & path,
10591059 & mut daily,
0 commit comments