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..df18f6f1957 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.