(t *testing.T)
| 1321 | } |
| 1322 | |
| 1323 | func TestComputeBashCommandsDiff_BashCapitalized(t *testing.T) { |
| 1324 | // Claude uses "Bash" (capitalized) |
| 1325 | run1Tools := map[string]ToolCallInfo{ |
| 1326 | "Bash": {Name: "Bash", CallCount: 7}, |
| 1327 | } |
| 1328 | run2Tools := map[string]ToolCallInfo{ |
| 1329 | "Bash": {Name: "Bash", CallCount: 4}, |
| 1330 | } |
| 1331 | |
| 1332 | result := computeBashCommandsDiff(run1Tools, run2Tools) |
| 1333 | require.NotNil(t, result, "Should detect capitalized Bash tool") |
| 1334 | assert.Equal(t, 7, result.Run1TotalCalls, "Run1 total should be 7") |
| 1335 | assert.Equal(t, 4, result.Run2TotalCalls, "Run2 total should be 4") |
| 1336 | } |
| 1337 | |
| 1338 | // --- Tokens per turn tests --- |
| 1339 |
nothing calls this directly
no test coverage detected