Skip to content

Commit

Permalink
fix(request): adjust unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
mookums committed Dec 14, 2024
1 parent 1ecdfae commit fa7fdbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/http/request.zig
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ test "Parse Request" {
});

try testing.expectEqual(.GET, request.method);
try testing.expectEqualStrings("/", request.uri);
try testing.expectEqualStrings("/", request.uri.?);
try testing.expectEqual(.@"HTTP/1.1", request.version);

try testing.expectEqualStrings("localhost:9862", request.headers.get("Host").?);
Expand Down

0 comments on commit fa7fdbc

Please sign in to comment.