Skip to content

Commit

Permalink
Revert "test AddLocalFile"
Browse files Browse the repository at this point in the history
This reverts commit 09683d0.
  • Loading branch information
kdomanski committed May 22, 2022
1 parent 89c926f commit 3020a9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion image_writer_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package iso9660

import (
"bytes"
"io/ioutil"
"os"
"path"
Expand Down Expand Up @@ -98,7 +99,7 @@ func TestWriter(t *testing.T) {
largeFileData, err := ioutil.ReadFile("fixtures/test.iso_source/dir2/large.txt")
assert.NoError(t, err)

err = w.AddLocalFile("fixtures/test.iso_source/dir2/large.txt", "anotherDir/large.txt")
err = w.AddFile(bytes.NewReader(largeFileData), "anotherDir/large.txt")
assert.NoError(t, err)

f, err := ioutil.TempFile(os.TempDir(), "iso9660_golang_test")
Expand Down

0 comments on commit 3020a9b

Please sign in to comment.