Skip to content

Commit

Permalink
Label issue associated with new assertions.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdwhatcott committed Jul 6, 2023
1 parent e9b2db1 commit 11b5dc6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion equality_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ func (this *AssertionsFixture) TestShouldEqual() {
this.pass(so(ThingWithEqualMethod{"hi"}, ShouldEqual, ThingWithEqualMethod{"hi"}))
this.fail(so(ThingWithEqualMethod{"hi"}, ShouldEqual, ThingWithEqualMethod{"bye"}),
`{bye}|{hi}|Expected: assertions.ThingWithEqualMethod{a:"bye"} Actual: assertions.ThingWithEqualMethod{a:"hi"} (Should equal)! Diff: 'assertions.ThingWithEqualMethod{a:"byehi"}'`)

}
func (this *AssertionsFixture) TestShouldEqual_Issue53() {
a := func() {}
b := a
this.pass(so(a, ShouldEqual, b))
Expand Down

0 comments on commit 11b5dc6

Please sign in to comment.