(t *testing.T)
| 19 | func id(x int) int { return x } |
| 20 | |
| 21 | func TestAssert(t *testing.T) { |
| 22 | tt := T{T: t} |
| 23 | |
| 24 | tt.Run("the-test", func(t T) { |
| 25 | t.Check(id(1) == 1) |
| 26 | t.CheckEqual(1, id(1)) |
| 27 | t.CheckDeepEqual(1, id(1)) |
| 28 | t.Assert(id(1) == 1) |
| 29 | t.AssertEqual(1, id(1)) |
| 30 | t.AssertDeepEqual(1, id(1)) |
| 31 | t.CheckRegexpEqual("hello", "h.*o") |
| 32 | }) |
| 33 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…