Skip to content

Commit

Permalink
fixup! remove logic from http_status definition in bp peg file
Browse files Browse the repository at this point in the history
  • Loading branch information
andreineculau committed Jul 26, 2024
1 parent c44f975 commit 8e30294
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions test/katt_blueprint_parse_tests.erl
Original file line number Diff line number Diff line change
Expand Up @@ -658,19 +658,6 @@ parse_http_status_test_() ->
) || N <- [100, 101, 200, 302, 400, 401, 404, 500, 599]].


fail_parse_invalid_http_status_test_() ->
%% Test a small sample of invalid HTTP codes.
[ ?_assertMatch(
{error, _},
parse_unindented("
--- API ---
GET /
< " ++ integer_to_list(N) ++ "
")
) || N <- [0, 9, 666, -300, -1000, 999999]].


fail_parse_non_numeric_http_status_test_() ->
[ ?_assertMatch(
{error, _},
Expand Down

0 comments on commit 8e30294

Please sign in to comment.