From 9de72ea61a21b2bf07bb692a3fa92ac1889f23ed Mon Sep 17 00:00:00 2001 From: Lucas Tortora Date: Wed, 11 Dec 2024 12:36:12 -0300 Subject: [PATCH 1/2] fix(devx): fix move.toml and build-test.mdx --- docs/content/developer/getting-started/build-test.mdx | 2 +- examples/move/first_package/Move.toml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/content/developer/getting-started/build-test.mdx b/docs/content/developer/getting-started/build-test.mdx index 69b5289b910..6c4db2d6cf3 100644 --- a/docs/content/developer/getting-started/build-test.mdx +++ b/docs/content/developer/getting-started/build-test.mdx @@ -60,7 +60,7 @@ Test result: OK. Total tests: 0; passed: 0; failed: 0 ### Add Tests -You can add your first unit test by copying the following public test function and adding it to `first_package_tests` file, within the `tests` directory. +You can add your first unit test by copying the following public test function and adding it to the `first_package` file. ```move #[test] diff --git a/examples/move/first_package/Move.toml b/examples/move/first_package/Move.toml index 9003fc5d467..9b917a31fba 100644 --- a/examples/move/first_package/Move.toml +++ b/examples/move/first_package/Move.toml @@ -5,7 +5,7 @@ edition = "2024.beta" # edition = "legacy" to use legacy (pre-2024) Move # authors = ["..."] # e.g., ["Joe Smith (joesmith@noemail.com)", "John Snow (johnsnow@noemail.com)"] [dependencies] -Iota = { local = "../../../crates/iota-framework/packages/iota-framework" } +Iota = { git = "https://github.com/iotaledger/iota.git", subdir = "crates/iota-framework/packages/iota-framework", rev = "testnet" } # For remote import, use the `{ git = "...", subdir = "...", rev = "..." }`. # Revision can be a branch, a tag, and a commit hash. @@ -34,3 +34,4 @@ first_package = "0x0" # The dev-addresses section allows overwriting named addresses for the `--test` # and `--dev` modes. # alice = "0xB0B" + From 3dd0d5a198b2c9771914bb2c7620ad1e35353187 Mon Sep 17 00:00:00 2001 From: Lucas Tortora Date: Fri, 13 Dec 2024 09:17:02 -0300 Subject: [PATCH 2/2] dprint --- examples/move/first_package/Move.toml | 1 - 1 file changed, 1 deletion(-) diff --git a/examples/move/first_package/Move.toml b/examples/move/first_package/Move.toml index 9b917a31fba..df18f6f1957 100644 --- a/examples/move/first_package/Move.toml +++ b/examples/move/first_package/Move.toml @@ -34,4 +34,3 @@ first_package = "0x0" # The dev-addresses section allows overwriting named addresses for the `--test` # and `--dev` modes. # alice = "0xB0B" -