Skip to content

Commit

Permalink
remove pdf from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lu4p committed Nov 14, 2020
1 parent eb8ab28 commit 8560f63
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/imgtxt
/cmd/cat/cat
/cat
/vendor
/vendor
coverage.txt
2 changes: 1 addition & 1 deletion cat_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const test = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed id ex
const red = "Restore The Selling Balance. Ad Technology doesn't have to be faceless. Our platform is designed to connect media companies directly to advertisers."

func TestCat(t *testing.T) {
filetypes := []string{".docx", ".odt", ".txt", ".pdf"}
filetypes := []string{".docx", ".odt", ".txt"}
for _, filetype := range filetypes {
txt, err := cat.File("./test/test" + filetype)
if err != nil {
Expand Down
Binary file removed test/test.pdf
Binary file not shown.

0 comments on commit 8560f63

Please sign in to comment.