From 61e8f2ab746becae20115ea22c0a8fc71954b6fe Mon Sep 17 00:00:00 2001 From: Fiiranek Date: Thu, 31 Oct 2024 11:51:56 +0100 Subject: [PATCH] Fix `test_no_scarb_profile` --- crates/sncast/tests/e2e/declare_deploy.rs | 29 ++++++++++++----------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/crates/sncast/tests/e2e/declare_deploy.rs b/crates/sncast/tests/e2e/declare_deploy.rs index 741d795e0e..93d982dba7 100644 --- a/crates/sncast/tests/e2e/declare_deploy.rs +++ b/crates/sncast/tests/e2e/declare_deploy.rs @@ -384,20 +384,21 @@ fn test_no_scarb_profile() { let expected = indoc!( " - [..] - [WARNING] Profile profile5 does not exist in scarb, using default 'dev' profile. - command: [..] - class_hash: [..] - contract_address: [..] - declare_transaction_hash: [..] - deploy_transaction_hash: [..] - - To see declaration and deployment details, visit: - class: [..] - contract: [..] - declaration transaction: [..] - deployment transaction: [..] - " + [..] + command: [..] + class_hash: [..] + contract_address: [..] + declare_transaction_hash: [..] + deploy_transaction_hash: [..] + + To see declaration and deployment details, visit: + class: [..] + contract: [..] + declaration transaction: [..] + deployment transaction: [..] + [..] + [WARNING] Profile profile5 does not exist in scarb, using 'release' profile. + " ); assert_stdout_contains(output, expected);