Skip to content

Commit 18829ce

Browse files
committed
fix tests
1 parent 459f17b commit 18829ce

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

crates/config/src/compilation.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ pub struct CompilationRestrictions {
6060

6161
impl From<CompilationRestrictions> for RestrictionsWithVersion<MultiCompilerRestrictions> {
6262
fn from(value: CompilationRestrictions) -> Self {
63-
RestrictionsWithVersion {
63+
Self {
6464
restrictions: MultiCompilerRestrictions {
6565
solc: SolcRestrictions {
6666
evm_version: value.evm_version,

crates/forge/tests/cli/config.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ forgetest!(can_extract_config_values, |prj, cmd| {
148148
legacy_assertions: false,
149149
extra_args: vec![],
150150
eof_version: None,
151+
additional_compiler_profiles: vec![],
152+
compilation_restrictions: vec![],
151153
_non_exhaustive: (),
152154
};
153155
prj.write_config(input.clone());

0 commit comments

Comments
 (0)