Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
mod: TestDagSync, seek before reading
Browse files Browse the repository at this point in the history
  • Loading branch information
schomatis committed Jan 20, 2019
1 parent 88f9765 commit 63cc1b6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mod/dagmodifier_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -453,6 +453,11 @@ func TestDagSync(t *testing.T) {
t.Fatal(err)
}

_, err = dagmod.Seek(0, io.SeekStart)
if err != nil {
t.Fatal(err)
}

out, err := ioutil.ReadAll(dagmod)
if err != nil {
t.Fatal(err)
Expand Down

0 comments on commit 63cc1b6

Please sign in to comment.