nushell/tests/repl/test_ide.rs

11 lines
240 B
Rust
Raw Normal View History

use crate::repl::tests::{test_ide_contains, TestResult};
#[test]
fn parser_recovers() -> TestResult {
test_ide_contains(
"3 + \"bob\"\nlet x = \"fred\"\n",
&["--ide-check 5"],
"\"typename\":\"string\"",
)
}