update existing test suite usage of "when" statements to include captures

This commit is contained in:
Vern Paxson 2022-01-07 14:54:06 -08:00
parent 98cd3f2213
commit b59ee83979
6 changed files with 9 additions and 9 deletions

View file

@ -23,7 +23,7 @@ function check_exit_condition()
function test_request(label: string, req: ActiveHTTP::Request)
{
when ( local response = ActiveHTTP::request(req) )
when [label, req] ( local response = ActiveHTTP::request(req) )
{
print label, response;
check_exit_condition();