You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The feature gets test on on-comment and when using /test explicitly.
We test all different argument parsing, we had to refactor the tests to
accept golden files to use that for comparison which is a bit better
than regexp in some case.
Signed-off-by: Chmouel Boudjnah <[email protected]>
"I am the most Kawaī params\nSHHHHHHH\nFollow me on my ig #nofilter\n{{ no_match }}\nHey I show up from a payload match\n{{ secret_nothere }}"), "", 2))
197
193
}
198
194
199
195
// TestGiteaParamsBodyHeadersCEL Test that we can access the pull request body and headers in params
clients.Clients.Log.Infof("looking for regexp %s in namespace: %s for label %s and container %s", reg.String(), ns, labelselector, containerName)
47
+
} else {
48
+
clients.Clients.Log.Infof("looking for matching content of file %s in namespace: %s for label %s and container %s", goldenFile, ns, labelselector, containerName)
0 commit comments