Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Clippy fix
  • Loading branch information
zhassan-aws committed Oct 19, 2024
commit 3707c60d14a45ff0b854d1a776f103c08826b264
2 changes: 1 addition & 1 deletion kani-driver/src/cbmc_property_renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -749,9 +749,9 @@ fn annotate_properties_with_reach_results(
reach_map.entry(check_id_str).or_default().push(status);
}

let check_marker_pat = Regex::new(r"\[KANI_CHECK_ID_([^\]]*)\]").unwrap();
for prop in properties.iter_mut() {
let description = &prop.description;
let check_marker_pat = Regex::new(r"\[KANI_CHECK_ID_([^\]]*)\]").unwrap();
if check_marker_pat.is_match(description) {
// Capture the ID in the property
let prop_match_id =
Expand Down