fix(test): update test expectations

This commit is contained in:
yusing
2026-01-04 20:31:11 +08:00
parent 2835fd5fb0
commit f1d906ac11
5 changed files with 15 additions and 5 deletions

View File

@@ -106,7 +106,7 @@ func TestReverseProxyBypass(t *testing.T) {
rp := reverseproxy.NewReverseProxy("test", url, fakeRoundTripper{})
err = PatchReverseProxy(rp, map[string]OptionsRaw{
"response": {
"bypass": "path glob(/test/*) | path /api",
"bypass": []string{"path glob(/test/*)", "path /api"},
"set_headers": map[string]string{
"Test-Header": "test-value",
},