Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ permissions:

jobs:
rust-ci:
uses: hyperpolymath/standards/.github/workflows/rust-ci-reusable.yml@d135b05bfc647d0c0fbfedc7e80f37ea50f49236
uses: hyperpolymath/standards/.github/workflows/rust-ci-reusable.yml@8dc2bf039d1ff0372d650895c46bea7fbaec68ff
3 changes: 2 additions & 1 deletion src/codegen/accessibility.rs
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,8 @@ mod tests {
criterion: "1.1.1".to_string(),
}];

let report = generate_accessibility_report(&manifest, &violations).expect("TODO: handle error");
let report =
generate_accessibility_report(&manifest, &violations).expect("TODO: handle error");
assert!(!report.passes); // should fail due to error-level violation
assert_eq!(report.accessibility_violations_count, 1);
}
Expand Down
3 changes: 2 additions & 1 deletion src/codegen/i18n.rs
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,8 @@ mod tests {
context: None,
}];

let files = generate_locale_files(&manifest, &strings, output_dir).expect("TODO: handle error");
let files =
generate_locale_files(&manifest, &strings, output_dir).expect("TODO: handle error");
assert_eq!(files.len(), 2); // en-GB + fr-FR

// Check that the default locale file has the value.
Expand Down
Loading