stat_test.go 279 B

12345678910111213141516171819
  1. package archive
  2. import (
  3. "context"
  4. "testing"
  5. . "github.com/smartystreets/goconvey/convey"
  6. )
  7. func TestStat(t *testing.T) {
  8. Convey(t.Name(), t, func() {
  9. _, err := d.Stat(context.Background(), 2)
  10. if err != nil {
  11. t.Log(err)
  12. }
  13. err = nil
  14. So(err, ShouldBeNil)
  15. })
  16. }