From fc661c6f689efeef57f5b8f5b7f6672f2d08d6d0 Mon Sep 17 00:00:00 2001 From: jcamiel Date: Fri, 4 Feb 2022 17:57:46 +0100 Subject: [PATCH] Fix unit test. --- packages/hurl_core/src/parser/filename.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/packages/hurl_core/src/parser/filename.rs b/packages/hurl_core/src/parser/filename.rs index 7f46adce4..f15fcb8be 100644 --- a/packages/hurl_core/src/parser/filename.rs +++ b/packages/hurl_core/src/parser/filename.rs @@ -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 }); } }