From d0ce3c636f5ac10d1b3f9686ce92b1d638e14cc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Vall=C3=A9s?= Date: Wed, 14 Feb 2024 09:00:11 +0100 Subject: [PATCH] fix: relative path in text testcases --- pkg/text/v0/convert_test.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pkg/text/v0/convert_test.go b/pkg/text/v0/convert_test.go index 1538e80..2c68244 100644 --- a/pkg/text/v0/convert_test.go +++ b/pkg/text/v0/convert_test.go @@ -20,35 +20,35 @@ func TestConvertToText(t *testing.T) { }{ { name: "Convert pdf file", - filepath: "./testdata/test.pdf", + filepath: "testdata/test.pdf", }, { name: "Convert docx file", - filepath: "./testdata/test.docx", + filepath: "testdata/test.docx", }, { name: "Convert html file", - filepath: "./testdata/test.html", + filepath: "testdata/test.html", }, { name: "Convert odt file", - filepath: "./testdata/test.odt", + filepath: "testdata/test.odt", }, { name: "Convert rtf file", - filepath: "./testdata/test.rtf", + filepath: "testdata/test.rtf", }, { name: "Convert png file", - filepath: "./testdata/test.png", + filepath: "testdata/test.png", }, { name: "Convert jpg file", - filepath: "./testdata/test.jpg", + filepath: "testdata/test.jpg", }, { name: "Convert tiff file", - filepath: "./testdata/test.tif", + filepath: "testdata/test.tif", }, }