(t *testing.T)
| 123 | } |
| 124 | |
| 125 | func TestIsBotUser(t *testing.T) { |
| 126 | assert.True(t, isBotUser("github-actions[bot]"), "github-actions[bot] is a bot") |
| 127 | assert.True(t, isBotUser("github-actions"), "github-actions is a bot") |
| 128 | assert.True(t, isBotUser("copilot-swe-agent"), "copilot-swe-agent is a bot") |
| 129 | assert.False(t, isBotUser("mnkiefer"), "human user is not a bot") |
| 130 | } |
| 131 | |
| 132 | func TestExtractCommentID(t *testing.T) { |
| 133 | tests := []struct { |
nothing calls this directly
no test coverage detected