(b *testing.B)
| 649 | } |
| 650 | |
| 651 | func BenchmarkValidateBalancedBraces(b *testing.B) { |
| 652 | input := "gh-aw-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}" |
| 653 | |
| 654 | for b.Loop() { |
| 655 | _ = validateBalancedBraces(input) |
| 656 | } |
| 657 | } |
| 658 | |
| 659 | func BenchmarkValidateExpressionContent(b *testing.B) { |
| 660 | expr := "(github.workflow || github.ref) && github.repository" |
nothing calls this directly
no test coverage detected