Skip to content

Commit

Permalink
fix: separating test for tarfiles without extension
Browse files Browse the repository at this point in the history
Signed-off-by: Adnan Gulegulzar <gulegulzaradnan@gmail.com>
  • Loading branch information
ADorigi committed Jul 24, 2024
1 parent 275a44a commit 51ec1d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions internal/fs/tarfs/tarfs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,9 @@ func TestTarFS_New_NonTarFile(t *testing.T) {
t.Errorf("TarFS.New(%s) error = %v, wantErr %v", name, err, want)
}
}
}

func TestTarFS_New_TarWithoutExtension(t *testing.T) {
tarwithoutextension := "testdata/tarwithoutextension"
_, err := New(tarwithoutextension)
if err != nil {
Expand Down

0 comments on commit 51ec1d4

Please sign in to comment.