Skip to content

Commit e948d75

Browse files
authored
Use rustc as external instead of sleep for highlight test (nushell#17022)
1 parent d61698d commit e948d75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/nu-cli/tests/commands/nu_highlight.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ fn nu_highlight_where_row_condition() {
1616
fn nu_highlight_aliased_external_resolved() {
1717
let actual = nu!(r#"$env.config.highlight_resolved_externals = true
1818
$env.config.color_config.shape_external_resolved = '#ffffff'
19-
alias fff = ^sleep
19+
alias fff = ^rustc
2020
('fff' | nu-highlight) has (ansi $env.config.color_config.shape_external_resolved)"#);
2121

2222
assert_eq!(actual.out, "true");

0 commit comments

Comments
 (0)