Skip to content

Commit 54d1235

Browse files
committed
chore: fix formatting
1 parent b94d64f commit 54d1235

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

clarity/src/vm/analysis/type_checker/v2_1/tests/post_conditions.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -278,9 +278,7 @@ fn test_as_contract(#[case] version: ClarityVersion, #[case] _epoch: StacksEpoch
278278
// as-contract? is only available in Clarity 4+
279279
assert_eq!(
280280
CheckErrors::UnknownFunction("as-contract?".to_string()),
281-
*type_check_helper_version(code, version)
282-
.unwrap_err()
283-
.err
281+
*type_check_helper_version(code, version).unwrap_err().err
284282
);
285283
} else {
286284
assert_eq!(
@@ -296,9 +294,7 @@ fn test_as_contract(#[case] version: ClarityVersion, #[case] _epoch: StacksEpoch
296294
// as-contract? is only available in Clarity 4+
297295
assert_eq!(
298296
CheckErrors::UnknownFunction("as-contract?".to_string()),
299-
*type_check_helper_version(code, version)
300-
.unwrap_err()
301-
.err
297+
*type_check_helper_version(code, version).unwrap_err().err
302298
);
303299
} else {
304300
assert_eq!(

0 commit comments

Comments
 (0)