Skip to content

Commit

Permalink
fix cargo test compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
clangenb committed Aug 1, 2023
1 parent b7b451f commit 9e07d37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/parentchain/light-client/src/concurrent_access.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ mod tests {
fn execute_with_and_without_mut_in_single_thread_works() {
let validator_mock = ValidatorMock::default();
let seal = LightValidationStateSealMock::new();
let accessor = TestAccessor::new(validator_mock, seal);
let accessor = TestAccessor::new(validator_mock, seal.into());

let _read_result = accessor.execute_on_validator(|_v| Ok(())).unwrap();
let _write_result = accessor.execute_mut_on_validator(|_v| Ok(())).unwrap();
Expand Down

0 comments on commit 9e07d37

Please sign in to comment.