Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
grindlemire committed Apr 27, 2021
1 parent e7a329c commit 9362290
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgPath_test.go
Expand Up @@ -12,7 +12,7 @@ func TestGetPkgPath(t *testing.T) {
c := &Closer{}
name, pkgPath := getPkgPath(c)
So(name, ShouldEqual, "Closer")
So(pkgPath, ShouldEqual, "github.com/vrecan/death")
So(pkgPath, ShouldEqual, "github.com/vrecan/death/v3")

})

Expand All @@ -21,14 +21,14 @@ func TestGetPkgPath(t *testing.T) {
closable = Closer{}
name, pkgPath := getPkgPath(closable)
So(name, ShouldEqual, "Closer")
So(pkgPath, ShouldEqual, "github.com/vrecan/death")
So(pkgPath, ShouldEqual, "github.com/vrecan/death/v3")
})

Convey("Give pkgPath a copy", t, func() {
c := Closer{}
name, pkgPath := getPkgPath(c)
So(name, ShouldEqual, "Closer")
So(pkgPath, ShouldEqual, "github.com/vrecan/death")
So(pkgPath, ShouldEqual, "github.com/vrecan/death/v3")
})
}

Expand Down

0 comments on commit 9362290

Please sign in to comment.