This commit is contained in:
Emil Lerch 2024-05-10 13:28:30 -07:00
parent 1ed36376d8
commit 9d11086972
Signed by untrusted user: lobo
GPG Key ID: A7B62D657EF764F8

View File

@ -431,8 +431,8 @@ test "several requests do not fail" {
const expected_response =
\\{"foo": "bar", "baz": "qux"}
;
const lambda_response = try test_lambda_request(allocator, request, 5);
const lambda_response = try test_lambda_request(allocator, request, 5, handler);
defer deinit();
defer allocator.free(lambda_response);
try std.testing.expectEqualStrings(expected_response, lambda_response, handler);
try std.testing.expectEqualStrings(expected_response, lambda_response);
}