From 9d1108697282d24509472d7019c97d1afe06ba1c Mon Sep 17 00:00:00 2001 From: Emil Lerch Date: Fri, 10 May 2024 13:28:30 -0700 Subject: [PATCH] fix test --- src/lambda.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lambda.zig b/src/lambda.zig index 14cfba8..1272997 100644 --- a/src/lambda.zig +++ b/src/lambda.zig @@ -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); }