Fix doc since testing no longer exported from std
This commit is contained in:
parent
0d79b63711
commit
c50f777c2b
|
@ -204,7 +204,7 @@ More design guidelines:
|
||||||
### Useful Commands
|
### Useful Commands
|
||||||
- Run all unit tests for the standard library:
|
- Run all unit tests for the standard library:
|
||||||
```nushell
|
```nushell
|
||||||
cargo run -- -c 'use std testing; testing run-tests --path crates/nu-std'
|
cargo run -- -c 'use crates/nu-std/testing.nu; testing run-tests --path crates/nu-std'
|
||||||
```
|
```
|
||||||
> **Note**
|
> **Note**
|
||||||
> this uses the debug version of NU interpreter from the same repo, which is
|
> this uses the debug version of NU interpreter from the same repo, which is
|
||||||
|
@ -216,7 +216,7 @@ More design guidelines:
|
||||||
- Run all tests for a specific test module, e.g,
|
- Run all tests for a specific test module, e.g,
|
||||||
`crates/nu-std/tests/test_foo.nu`
|
`crates/nu-std/tests/test_foo.nu`
|
||||||
```nushell
|
```nushell
|
||||||
cargo run -- -c 'use std testing; testing run-tests --path crates/nu-std --module test_foo'
|
cargo run -- -c 'use crates/nu-std/testing.nu; testing run-tests --path crates/nu-std --module test_foo'
|
||||||
```
|
```
|
||||||
- Run a custom command with additional logging (assuming you have instrumented
|
- Run a custom command with additional logging (assuming you have instrumented
|
||||||
the command with `log <level>`, as we recommend.)
|
the command with `log <level>`, as we recommend.)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user