nushell/crates/nu-test-support/src
Stefan Holderbach 24848a1e35
Use nu-path correctly in nu! test macro to make dev-dependency transitive (#7488)
## Fix `nu-path` usage in `nu!` testing macro

The `nu-path` crate needs to be properly re-exported so the generated
code is valid if `nu-path` is not present among the dependencies of the
using crate.

Usage of crates in `macro_rules!` macros has to follow the
`$crate::symbol_in_crate` path pattern (With an absolute path-spec also
for macros defined in submodules)

## Move `nu-test-support` to devdeps in `nu-protocol`

Also remove the now unnecessary direct dependency on `nu-path`.
`nu!` macro had to be changed to make it a proper transitive dependency.
2022-12-15 18:53:26 +01:00
..
playground Run a round of clippy --fix to fix a ton of lints (#7006) 2022-11-04 15:11:17 -05:00
commands.rs Restore nu_with_plugins test macro (#6065) 2022-07-22 00:14:37 -04:00
fs.rs Add decimals to int when using into string --decimals (#6085) 2022-08-12 21:13:50 -05:00
lib.rs Use nu-path correctly in nu! test macro to make dev-dependency transitive (#7488) 2022-12-15 18:53:26 +01:00
locale_override.rs Add decimals to int when using into string --decimals (#6085) 2022-08-12 21:13:50 -05:00
macros.rs Use nu-path correctly in nu! test macro to make dev-dependency transitive (#7488) 2022-12-15 18:53:26 +01:00
playground.rs Remove old nushell/merge engine-q 2022-02-07 14:54:06 -05:00