(b *testing.B)
| 410 | } |
| 411 | |
| 412 | func BenchmarkBashTool_ComplexCommand(b *testing.B) { |
| 413 | if testing.Short() { |
| 414 | b.Skip("Skipping complex command benchmark in short mode") |
| 415 | } |
| 416 | |
| 417 | tool, err := NewBashTool(nil) |
| 418 | if err != nil { |
| 419 | b.Fatalf("Failed to create Bash tool: %v", err) |
| 420 | } |
| 421 | |
| 422 | input := map[string]any{ |
| 423 | "command": "seq 1 100 | tail -10", |
| 424 | } |
| 425 | |
| 426 | BenchmarkTool(b, tool, input) |
| 427 | } |
nothing calls this directly
no test coverage detected