Unit test file:row:column parsing

This commit is contained in:
Kirill Bulatov 2023-05-16 20:48:19 +03:00
parent be7a58b508
commit 5d4fc99750
2 changed files with 170 additions and 29 deletions

View file

@ -79,7 +79,7 @@ fn main() -> Result<()> {
.paths_with_position
.into_iter()
.map(|path_with_position| {
let path_with_position = path_with_position.convert_path(|path| {
let path_with_position = path_with_position.map_path_like(|path| {
fs::canonicalize(&path)
.with_context(|| format!("path {path:?} canonicalization"))
})?;