Skip to content

Commit c8553e7

Browse files
committed
remove useless format!
1 parent f4a7ff1 commit c8553e7

File tree

2 files changed

+15
-16
lines changed

2 files changed

+15
-16
lines changed

stackslib/src/chainstate/tests/snapshots/blockstack_lib__chainstate__tests__static_analysis_tests__static_check_error_bad_trait_implementation.snap

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ expression: result
44
---
55
[
66
Success(ExpectedBlockOutput(
7-
marf_hash: "3e216b0c84ceed92b873d280c01a1541de4bc3fc8dea66968cd7af59387080e5",
7+
marf_hash: "12d33d45dd2d1e1b69dc051295249fbea64a8c3fd09448e3997f6d9441724448",
88
evaluated_epoch: Epoch33,
99
transactions: [
1010
ExpectedTransactionOutput(
@@ -21,7 +21,7 @@ expression: result
2121
write_count: 1,
2222
read_length: 1,
2323
read_count: 1,
24-
runtime: 3373,
24+
runtime: 3157,
2525
),
2626
),
2727
],
@@ -30,11 +30,11 @@ expression: result
3030
write_count: 1,
3131
read_length: 1,
3232
read_count: 1,
33-
runtime: 3373,
33+
runtime: 3157,
3434
),
3535
)),
3636
Success(ExpectedBlockOutput(
37-
marf_hash: "53c830893cccd63de3eba2d50e763cf0e31166f51a97761352201aca2607caee",
37+
marf_hash: "8ccaf85453bc27e815e4b127745b61c0e3ab40bf22e73fc7b8c74f5ac8c458f3",
3838
evaluated_epoch: Epoch33,
3939
transactions: [
4040
ExpectedTransactionOutput(
@@ -51,7 +51,7 @@ expression: result
5151
write_count: 1,
5252
read_length: 1,
5353
read_count: 1,
54-
runtime: 3373,
54+
runtime: 3157,
5555
),
5656
),
5757
],
@@ -60,11 +60,11 @@ expression: result
6060
write_count: 1,
6161
read_length: 1,
6262
read_count: 1,
63-
runtime: 3373,
63+
runtime: 3157,
6464
),
6565
)),
6666
Success(ExpectedBlockOutput(
67-
marf_hash: "fa6cc1f8cd406b2dc50bb654268085d7c62d89e775f756bec97cbcc3e70df447",
67+
marf_hash: "111496a7fc28efe5966db421eb0ecd0b736d5435ff490585ba801f1f5093b339",
6868
evaluated_epoch: Epoch33,
6969
transactions: [
7070
ExpectedTransactionOutput(
@@ -81,7 +81,7 @@ expression: result
8181
write_count: 1,
8282
read_length: 1,
8383
read_count: 1,
84-
runtime: 3373,
84+
runtime: 3157,
8585
),
8686
),
8787
],
@@ -90,11 +90,11 @@ expression: result
9090
write_count: 1,
9191
read_length: 1,
9292
read_count: 1,
93-
runtime: 3373,
93+
runtime: 3157,
9494
),
9595
)),
9696
Success(ExpectedBlockOutput(
97-
marf_hash: "b559f59ceb3fcd78971206e63bac42f5c3c7bd29ab001c21e1431d4fea0377fe",
97+
marf_hash: "f4274bba15e471d656212d8e0b57f2386074437a263e743a0423715ea32d3f40",
9898
evaluated_epoch: Epoch33,
9999
transactions: [
100100
ExpectedTransactionOutput(
@@ -111,7 +111,7 @@ expression: result
111111
write_count: 1,
112112
read_length: 1,
113113
read_count: 1,
114-
runtime: 3373,
114+
runtime: 3157,
115115
),
116116
),
117117
],
@@ -120,7 +120,7 @@ expression: result
120120
write_count: 1,
121121
read_length: 1,
122122
read_count: 1,
123-
runtime: 3373,
123+
runtime: 3157,
124124
),
125125
)),
126126
]

stackslib/src/chainstate/tests/static_analysis_tests.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -218,10 +218,9 @@ fn static_check_error_bad_trait_implementation() {
218218

219219
contract_deploy_consensus_test!(
220220
contract_name: "contract-name",
221-
contract_code: &format!("
222-
(impl-trait .trait-contract.trait-1)
223-
(define-public (get-1 (x (list 5 uint))) (ok u1))",
224-
),
221+
contract_code: "
222+
(impl-trait .trait-contract.trait-1)
223+
(define-public (get-1 (x (list 5 uint))) (ok u1))",
225224
setup_contracts: &[setup_contract],
226225
);
227226
}

0 commit comments

Comments
 (0)