From 054cc1fcdfb4e720fda5e5209e364ea40ae1db73 Mon Sep 17 00:00:00 2001 From: Elizabeth Engelman <4752801+elizabethengelman@users.noreply.github.com> Date: Tue, 8 Oct 2024 13:05:48 -0400 Subject: [PATCH] Move init int test into it dir --- cmd/crates/soroban-test/tests/it/integration.rs | 1 + cmd/crates/soroban-test/tests/it/{ => integration}/init.rs | 1 + cmd/crates/soroban-test/tests/it/main.rs | 1 - 3 files changed, 2 insertions(+), 1 deletion(-) rename cmd/crates/soroban-test/tests/it/{ => integration}/init.rs (90%) diff --git a/cmd/crates/soroban-test/tests/it/integration.rs b/cmd/crates/soroban-test/tests/it/integration.rs index 3e8521869..4dba7ee5f 100644 --- a/cmd/crates/soroban-test/tests/it/integration.rs +++ b/cmd/crates/soroban-test/tests/it/integration.rs @@ -4,6 +4,7 @@ mod custom_types; mod dotenv; mod fund; mod hello_world; +mod init; mod snapshot; mod tx; mod util; diff --git a/cmd/crates/soroban-test/tests/it/init.rs b/cmd/crates/soroban-test/tests/it/integration/init.rs similarity index 90% rename from cmd/crates/soroban-test/tests/it/init.rs rename to cmd/crates/soroban-test/tests/it/integration/init.rs index 6eada4ce6..3bc31f08d 100644 --- a/cmd/crates/soroban-test/tests/it/init.rs +++ b/cmd/crates/soroban-test/tests/it/integration/init.rs @@ -23,4 +23,5 @@ fn init() { table["workspace"]["dependencies"]["soroban-sdk"].as_str() == Some(&format!("{major}.0.0")) })); + // this is true, that is does create the dir, but it also panics } diff --git a/cmd/crates/soroban-test/tests/it/main.rs b/cmd/crates/soroban-test/tests/it/main.rs index 5a0b2a07f..8948a5f44 100644 --- a/cmd/crates/soroban-test/tests/it/main.rs +++ b/cmd/crates/soroban-test/tests/it/main.rs @@ -2,7 +2,6 @@ mod arg_parsing; mod build; mod config; mod help; -mod init; #[cfg(feature = "it")] mod integration; mod plugin;