Skip to content

Commit

Permalink
Update sandbox exp-test commands, options (diem#80)
Browse files Browse the repository at this point in the history
Previous versions of commands listed in tutorial threw errors

Signed-off-by: sahithiacn <[email protected]>
  • Loading branch information
alnoki authored and sahithiacn committed Jan 2, 2023
1 parent 0a4b28a commit 420d9f0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions language/tools/move-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ We can then use the `move sandbox test` command and point it at the `readme` dir
Move CLI commands for us in sequence:

```shell
$ move sandbox exp-test readme
$ move sandbox exp-test -p readme
...<snipped output>
0 / 1 test(s) passed.
Error: 1 / 1 test(s) failed.
Expand All @@ -430,7 +430,7 @@ yet. We can generate this expectation file by setting the `UPDATE_BASELINE`
environment variable when running the test:

```shell
$ UPDATE_BASELINE=1 move sandbox exp-test readme
$ UPDATE_BASELINE=1 move sandbox exp-test -p readme
1 / 1 test(s) passed.
```

Expand All @@ -457,7 +457,7 @@ i.e., `cargo install --debug --path move/language/tools/move-cli`.
Using our running example to illustrate:
```shell
$ move sandbox test readme --track-cov
$ move sandbox exp-test -p readme --track-cov
1 / 1 test(s) passed.
Module 00000000000000000000000000000002::Test
fun publish
Expand Down Expand Up @@ -509,7 +509,7 @@ sandbox run sources/test_unpublish_script.move --signers 0xf -v
Now we can re-test the `readme` again
```shell
$ move sandbox exp-test readme --track-cov
$ move sandbox exp-test -p readme --track-cov
1 / 1 test(s) passed.
Module 00000000000000000000000000000002::Test
fun publish
Expand Down

0 comments on commit 420d9f0

Please sign in to comment.