(t *testing.T)
| 143 | } |
| 144 | |
| 145 | func TestReviewChangesScript(t *testing.T) { |
| 146 | result, err := reviewChangesScript(context.Background(), map[string]string{}, nil) |
| 147 | _ = err |
| 148 | if result == "" { |
| 149 | t.Error("expected non-empty result from reviewChangesScript") |
| 150 | } |
| 151 | if !strings.Contains(result, "Changed Files") { |
| 152 | t.Error("expected 'Changed Files' section in result") |
| 153 | } |
| 154 | if !strings.Contains(result, "Recent Commits") { |
| 155 | t.Error("expected 'Recent Commits' section in result") |
| 156 | } |
| 157 | } |
| 158 | |
| 159 | func TestRunTestsScript(t *testing.T) { |
| 160 | // runTestsScript runs "test --dir ." via engine. |
nothing calls this directly
no test coverage detected