Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
letFunny committed Aug 30, 2024
1 parent ac59f75 commit c6f925d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/slicer/slicer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1277,11 +1277,11 @@ func runSlicerTests(c *C, tests []slicerTest) {
c.Assert(err, IsNil)
c.Assert(s.Mode(), Equals, slicer.ManifestMode)
f, err := os.Open(path.Join(options.TargetDir, manifestPath))
defer f.Close()
c.Assert(err, IsNil)
defer f.Close()
r, err := zstd.NewReader(f)
defer r.Close()
c.Assert(err, IsNil)
defer r.Close()
mfest, err := manifest.Read(r)
c.Assert(err, IsNil)
err = manifest.Validate(mfest)
Expand Down

0 comments on commit c6f925d

Please sign in to comment.