forked from EduCraft/curriculum-project-hub
chore: restore checker CI gate
This commit is contained in:
@@ -324,7 +324,11 @@ fn cph_version_mismatch_is_an_error_diagnostic() {
|
||||
.iter()
|
||||
.filter(|d| d.code == DiagCode::CphVersionMismatch)
|
||||
.collect();
|
||||
assert_eq!(mm.len(), 1, "expected one CphVersionMismatch, got {diags:?}");
|
||||
assert_eq!(
|
||||
mm.len(),
|
||||
1,
|
||||
"expected one CphVersionMismatch, got {diags:?}"
|
||||
);
|
||||
assert!(
|
||||
mm[0].message.contains("99.99.99") && mm[0].message.contains(CPH_VERSION),
|
||||
"diagnostic should name both versions, got: {}",
|
||||
|
||||
Reference in New Issue
Block a user