Skip to content

Commit

Permalink
chore: Remove a couple more to_string() calls
Browse files Browse the repository at this point in the history
  • Loading branch information
jbencin committed Jan 17, 2025
1 parent 2834095 commit c504bc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions testnet/stacks-node/src/tests/nakamoto_integrations.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10301,10 +10301,7 @@ fn clarity_cost_spend_down() {
(define-data-var my-var uint u0)
(define-public (f) (begin {} (ok 1))) (begin (f))
"#,
(0..250)
.map(|_| "(var-get my-var)".to_string())
.collect::<Vec<String>>()
.join(" ")
vec!["(var-get my-var)"; 250].join(" ")
);

// Create an expensive contract that will be republished multiple times
Expand Down
5 changes: 1 addition & 4 deletions testnet/stacks-node/src/tests/signer/v0.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3029,10 +3029,7 @@ fn idle_tenure_extend_active_mining() {
(define-data-var my-var uint u0)
(define-public (f) (begin {} (ok 1))) (begin (f))
"#,
(0..250)
.map(|_| "(var-get my-var)".to_string())
.collect::<Vec<String>>()
.join(" ")
vec!["(var-get my-var)"; 250].join(" ")
);

// First, lets deploy the contract
Expand Down

0 comments on commit c504bc0

Please sign in to comment.