We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 191c6dd commit b5eb751Copy full SHA for b5eb751
crates/forge/tests/cli/verify_bytecode.rs
@@ -190,12 +190,8 @@ fn test_verify_bytecode_mismatch(
190
let output = cmd.forge_fuse().args(args).assert_success().get_output().stderr_lossy();
191
192
// Verify that bytecode does NOT match (recompiled with incorrect source)
193
- assert!(
194
- output.contains(format!("Error: Creation code did not match").as_str()),
195
- );
196
197
- output.contains(format!("Error: Runtime code did not match").as_str()),
198
+ assert!(output.contains("Error: Creation code did not match".to_string().as_str()));
+ assert!(output.contains("Error: Runtime code did not match".to_string().as_str()));
199
}
200
201
forgetest_async!(can_verify_bytecode_no_metadata, |prj, cmd| {
0 commit comments