Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
Signed-off-by: he1pa <18012015693@163.com>
  • Loading branch information
He1pa committed Oct 23, 2024
1 parent 512b916 commit 366268a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion kclvm/query/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -859,7 +859,10 @@ fn test_list_variable_with_invalid_kcl() {
result.parse_errors[0].messages[0].message,
"expected one of [\"=\"] got eof",
);
assert_eq!(result.parse_errors[0].messages[0].range.0.filename, file);
assert_eq!(
result.parse_errors[0].messages[0].range.0.filename,
file.adjust_canonicalization()
);
assert_eq!(result.parse_errors[0].messages[0].range.0.line, 1);
assert_eq!(result.parse_errors[0].messages[0].range.0.column, Some(8));
}
Expand Down

0 comments on commit 366268a

Please sign in to comment.