MCPcopy Index your code
hub / github.com/zalando/skipper / ExampleMalformedFile

Function ExampleMalformedFile

script/script_test.go:569–576  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

567const MalformedFile = `testdata/not_a_filter.lua`
568
569func ExampleMalformedFile() {
570 runExample(&testContext{
571 script: MalformedFile,
572 })
573 // Output:
574 // some string
575 // at least one of `request` and `response` function must be present
576}
577
578const SyntaxError = `function request(ctx, params); print(ctx.request.method)`
579

Callers

nothing calls this directly

Calls 1

runExampleFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…