testify/assert
Torkel Rogstad 51595dcf94 Allow comparing custom comparable types
Prior to this commit, this would not work:

```go
type myInt int
assert.Less(t, myInt(1), myInt(2)) // panic!
```

We add some type conversions, similarly to how `ObjectsAreEqualValues`
work. This allows us to compare `myInt` to `myInt`, as well as `myInt`
to `int`.
2020-06-22 19:40:53 +10:00
..
assertion_compare.go Allow comparing custom comparable types 2020-06-22 19:40:53 +10:00
assertion_compare_test.go Allow comparing custom comparable types 2020-06-22 19:40:53 +10:00
assertion_format.go This reverts commit 0a813b5898. 2020-06-05 20:47:15 +10:00
assertion_format.go.tmpl Fix vim-go integration and other editors 2018-02-02 18:39:40 +00:00
assertion_forward.go This reverts commit 0a813b5898. 2020-06-05 20:47:15 +10:00
assertion_forward.go.tmpl Fix vim-go integration and other editors 2018-02-02 18:39:40 +00:00
assertions.go Implement NotEqualValues 2020-05-27 08:39:56 +10:00
assertions_test.go Rewrite test loops into individual test cases 2020-06-13 21:33:52 +10:00
doc.go Merge pull request #196 from phemmer/remove-overview 2015-08-26 11:20:00 -07:00
errors.go Clean up golint warnings 2014-06-18 09:28:16 -06:00
forward_assertions.go Make _codegen its own module so that its dependencies do not pollute the root modules dependency graph 2019-12-09 10:12:49 -07:00
forward_assertions_test.go Implement NotEqualValues 2020-05-27 08:39:56 +10:00
http_assertions.go This reverts commit 0a813b5898. 2020-06-05 20:47:15 +10:00
http_assertions_test.go This reverts commit 0a813b5898. 2020-06-05 20:47:15 +10:00