Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
celinval authored Jul 27, 2024
1 parent 33188d1 commit a143747
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kani-driver/src/concrete_playback/test_generator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ impl KaniSession {
.iter()
.map(|(prop, concrete_vals)| {
let pretty_name = harness.get_harness_name_unqualified();
format_unit_test(&pretty_name, &concrete_vals, gen_test_doc(harness, *prop))
format_unit_test(&pretty_name, &concrete_vals, gen_test_doc(harness, prop))
})
.collect();
unit_tests.dedup_by(|a, b| a.name == b.name);
Expand Down Expand Up @@ -170,7 +170,7 @@ impl KaniSession {
if curr_line_num == proof_harness_end_line {
for unit_test in unit_tests.iter() {
// Write an empty line before the unit test.
writeln!(temp_file, "")?;
writeln!(temp_file)?;

for unit_test_line in unit_test.code.iter() {
curr_line_num += 1;
Expand Down

0 comments on commit a143747

Please sign in to comment.