mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
Enable clippy's uninlined_format_args linter (#7204)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -235,18 +235,16 @@ impl Account {
|
||||
assert_equal(
|
||||
*value,
|
||||
entry.value,
|
||||
&format!("Storage for slot {:?} does not match", slot),
|
||||
&format!("Storage for slot {slot:?} does not match"),
|
||||
)?;
|
||||
} else {
|
||||
return Err(Error::Assertion(format!(
|
||||
"Slot {:?} is missing from the database. Expected {:?}",
|
||||
slot, value
|
||||
"Slot {slot:?} is missing from the database. Expected {value:?}"
|
||||
)))
|
||||
}
|
||||
} else {
|
||||
return Err(Error::Assertion(format!(
|
||||
"Slot {:?} is missing from the database. Expected {:?}",
|
||||
slot, value
|
||||
"Slot {slot:?} is missing from the database. Expected {value:?}"
|
||||
)))
|
||||
}
|
||||
}
|
||||
|
||||
@ -33,7 +33,7 @@ pub trait Suite {
|
||||
.join(self.suite_name());
|
||||
|
||||
// Verify that the path exists
|
||||
assert!(suite_path.exists(), "Test suite path does not exist: {:?}", suite_path);
|
||||
assert!(suite_path.exists(), "Test suite path does not exist: {suite_path:?}");
|
||||
|
||||
// Find all files with the ".json" extension in the test suite directory
|
||||
let test_cases = find_all_files_with_extension(&suite_path, ".json")
|
||||
|
||||
Reference in New Issue
Block a user