mirror of
https://github.com/nushell/nushell
synced 2024-12-29 06:23:11 +00:00
1b2e680059
# Description Fixes #12813 where a panic occurs when syntax highlighting `not`. Also fixes #12814 where syntax highlighting for `not` no longer works. # User-Facing Changes Bug fix.
7 lines
171 B
Rust
7 lines
171 B
Rust
use nu_test_support::nu;
|
|
|
|
#[test]
|
|
fn nu_highlight_not_expr() {
|
|
let actual = nu!("'not false' | nu-highlight | ansi strip");
|
|
assert_eq!(actual.out, "not false");
|
|
}
|