mirror of
https://github.com/nushell/nushell.git
synced 2024-11-25 01:43:47 +01: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.
8 lines
171 B
Rust
8 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");
|
|
}
|