(t *testing.T)
| 2985 | } |
| 2986 | |
| 2987 | func TestTimeEqualityErrorFormatting(t *testing.T) { |
| 2988 | t.Parallel() |
| 2989 | |
| 2990 | mockT := new(mockTestingT) |
| 2991 | |
| 2992 | Equal(mockT, time.Second*2, time.Millisecond) |
| 2993 | |
| 2994 | expectedErr := "\\s+Error Trace:\\s+Error:\\s+Not equal:\\s+\n\\s+expected: 2s\n\\s+actual\\s+: 1ms\n" |
| 2995 | Regexp(t, regexp.MustCompile(expectedErr), mockT.errorString()) |
| 2996 | } |
| 2997 | |
| 2998 | func TestDiffEmptyCases(t *testing.T) { |
| 2999 | t.Parallel() |
nothing calls this directly
no test coverage detected