Fix unit test.

This commit is contained in:
jcamiel 2022-02-04 17:57:46 +01:00 committed by Fabrice Reix
parent 35fbdb3d8e
commit fc661c6f68

View File

@ -95,11 +95,5 @@ mod tests {
let error = parse(&mut reader).err().unwrap();
assert_eq!(error.inner, ParseError::Filename {});
assert_eq!(error.pos, Pos { line: 1, column: 1 });
// can not absolute
let mut reader = Reader::init("/tmp/data.bin");
let error = parse(&mut reader).err().unwrap();
assert_eq!(error.inner, ParseError::Filename {});
assert_eq!(error.pos, Pos { line: 1, column: 1 });
}
}