Use 1-indexed rows in CLI and log output (resolves #287)
This commit is contained in:
parent
1aaad66a03
commit
c8d040ca26
6 changed files with 33 additions and 10 deletions
|
|
@ -56,6 +56,10 @@ fn test_parsing_with_logging() {
|
|||
"reduce sym:struct_item, child_count:3".to_string()
|
||||
)));
|
||||
assert!(messages.contains(&(LogType::Lex, "skip character:' '".to_string())));
|
||||
|
||||
for (_, m) in &messages {
|
||||
assert!(!m.contains("row:0"));
|
||||
}
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue