()
| 578 | const SyntaxError = `function request(ctx, params); print(ctx.request.method)` |
| 579 | |
| 580 | func ExampleSyntaxError() { |
| 581 | runExample(&testContext{ |
| 582 | script: SyntaxError, |
| 583 | }) |
| 584 | // Output: |
| 585 | // <script> at EOF: syntax error |
| 586 | } |
| 587 | |
| 588 | const PrintParams = ` |
| 589 | function request(ctx, params) |
nothing calls this directly
no test coverage detected
searching dependent graphs…