(t *testing.T)
| 12 | ) |
| 13 | |
| 14 | func TestTaskRunLogAttrs(t *testing.T) { |
| 15 | attrs := taskRunLogAttrs("project-a", 123) |
| 16 | |
| 17 | require.Equal(t, []slog.Attr{ |
| 18 | slog.String("project", "project-a"), |
| 19 | slog.Int64("task_run_id", 123), |
| 20 | }, attrs) |
| 21 | } |
| 22 | |
| 23 | func TestTaskRunLogContext(t *testing.T) { |
| 24 | var buf bytes.Buffer |
nothing calls this directly
no test coverage detected