comment out tokens that aren't needed yet
This commit is contained in:
parent
b50fb5ed06
commit
0ce869e859
2 changed files with 44 additions and 44 deletions
|
@ -102,6 +102,6 @@ pub fn parse_syntax(input: &str) -> Result<Vec<PipelineElement>, Vec<logos::Span
|
|||
|
||||
#[test]
|
||||
fn test_invalid_toks() {
|
||||
let test_data = "meow | gay $ error!\\";
|
||||
assert_eq!(parse_syntax(test_data), Err(vec![11..12, 19..20]))
|
||||
let test_data = "meow | gay $ error!";
|
||||
assert_eq!(parse_syntax(test_data), Err(vec![11..12, 18..19]))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue