mirror of
https://github.com/nushell/nushell.git
synced 2025-07-01 07:00:37 +02:00
add more color highlighting to help (#6449)
This commit is contained in:
@ -127,7 +127,7 @@ fn help_present_in_def() -> TestResult {
|
||||
#[test]
|
||||
fn help_not_present_in_extern() -> TestResult {
|
||||
run_test(
|
||||
"module test {export extern \"git fetch\" []}; use test; help git fetch",
|
||||
"module test {export extern \"git fetch\" []}; use test; help git fetch | ansi strip",
|
||||
"Usage:\n > git fetch",
|
||||
)
|
||||
}
|
||||
|
@ -53,7 +53,7 @@ fn in_and_if_else() -> TestResult {
|
||||
|
||||
#[test]
|
||||
fn help_works_with_missing_requirements() -> TestResult {
|
||||
run_test(r#"each --help | lines | length"#, "32")
|
||||
run_test(r#"each --help | lines | length"#, "29")
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
Reference in New Issue
Block a user