(t *testing.T)
| 34 | } |
| 35 | |
| 36 | func TestTimeString(t *testing.T) { |
| 37 | t.Parallel() |
| 38 | |
| 39 | require.Equal(t, "2025-04-30 13:26:39.123", timeString(time.Date(2025, 4, 30, 13, 26, 39, 123456789, time.UTC))) |
| 40 | require.Equal(t, "2025-04-30 13:26:39.124", timeString(time.Date(2025, 4, 30, 13, 26, 39, 123800000, time.UTC))) // test rounding |
| 41 | } |
| 42 | |
| 43 | func TestTimeStringNullable(t *testing.T) { |
| 44 | t.Parallel() |
nothing calls this directly
no test coverage detected
searching dependent graphs…