fix test
All checks were successful
Generic zig build / build (push) Successful in 2m0s

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

View File

@ -431,8 +431,8 @@ test "several requests do not fail" {
const expected_response = const expected_response =
\\{"foo": "bar", "baz": "qux"} \\{"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 deinit();
defer allocator.free(lambda_response); defer allocator.free(lambda_response);
try std.testing.expectEqualStrings(expected_response, lambda_response, handler); try std.testing.expectEqualStrings(expected_response, lambda_response);
} }