(t *testing.T)
| 23 | ) |
| 24 | |
| 25 | func TestFormatTS(t *testing.T) { |
| 26 | input := time.Date(2025, 1, 15, 10, 30, 45, 123456789, time.UTC) |
| 27 | expected := time.Date(2025, 1, 15, 10, 30, 45, 123457000, time.UTC) |
| 28 | |
| 29 | got := FormatTS(input) |
| 30 | |
| 31 | assert.Equal(t, got, expected, "FormatTS mismatch") |
| 32 | } |