lang: funky basic error reporting stuff
This commit is contained in:
parent
ae60db7721
commit
84448af714
8 changed files with 122 additions and 18 deletions
|
@ -39,7 +39,7 @@ fn test_parse_node_with_params() {
|
|||
}
|
||||
|
||||
fn test_parse_multiple_top_level_complex() {
|
||||
const INPUT: &str = r#"def main = meow
|
||||
const INPUT: &str = r"def main = meow
|
||||
| uwu
|
||||
[ foo: @bar
|
||||
, hello: world @| test [ more: params ] | yay
|
||||
|
@ -52,7 +52,7 @@ def test = meow
|
|||
[ hello: $foo
|
||||
, world: @bar
|
||||
];
|
||||
"#;
|
||||
";
|
||||
assert_eq!(
|
||||
parse(INPUT).unwrap(),
|
||||
File {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue