Skip to content

Commit 96c9e01

Browse files
Rust fmt
Signed-off-by: Jacinta Ferrant <[email protected]>
1 parent f9db7be commit 96c9e01

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

stackslib/src/chainstate/tests/early_return_tests.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515

1616
//! This module contains consensus tests related to EarlyReturn errors.
1717
18-
use clarity::vm::{Value as ClarityValue, errors::EarlyReturnError, types::ResponseData};
18+
use clarity::vm::errors::EarlyReturnError;
19+
use clarity::vm::types::ResponseData;
20+
use clarity::vm::Value as ClarityValue;
1921

2022
use crate::chainstate::tests::consensus::{
2123
contract_call_consensus_test, contract_deploy_consensus_test,
@@ -95,13 +97,12 @@ fn native_try_ret_err_ccall() {
9597
",
9698
function_name: "trigger",
9799
function_args: &[ClarityValue::Response(ResponseData {
98-
committed: false,
100+
committed: false,
99101
data: Box::new(ClarityValue::UInt(42))
100102
})],
101103
);
102104
}
103105

104-
105106
/// Error: [`EarlyReturnError::UnwrapFailed`]
106107
/// Caused by: attempting to `try!` unwrap a `None` optional at deploy time.
107108
/// Outcome: block accepted

0 commit comments

Comments
 (0)