Make cargo catalog save-native
This commit is contained in:
parent
0c4a90c16c
commit
c17b9f55f7
24 changed files with 575 additions and 52 deletions
|
|
@ -80,6 +80,8 @@ pub struct ExpectedRuntimeSummary {
|
|||
#[serde(default)]
|
||||
pub locomotive_catalog_count: Option<usize>,
|
||||
#[serde(default)]
|
||||
pub cargo_catalog_count: Option<usize>,
|
||||
#[serde(default)]
|
||||
pub territory_count: Option<usize>,
|
||||
#[serde(default)]
|
||||
pub company_territory_track_count: Option<usize>,
|
||||
|
|
@ -469,6 +471,14 @@ impl ExpectedRuntimeSummary {
|
|||
));
|
||||
}
|
||||
}
|
||||
if let Some(count) = self.cargo_catalog_count {
|
||||
if actual.cargo_catalog_count != count {
|
||||
mismatches.push(format!(
|
||||
"cargo_catalog_count mismatch: expected {count}, got {}",
|
||||
actual.cargo_catalog_count
|
||||
));
|
||||
}
|
||||
}
|
||||
if let Some(count) = self.territory_count {
|
||||
if actual.territory_count != count {
|
||||
mismatches.push(format!(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue