From 8e302944ff6972f010167956f1b81486ccdbfdb4 Mon Sep 17 00:00:00 2001 From: Andrei Neculau Date: Fri, 26 Jul 2024 18:33:34 +0200 Subject: [PATCH] fixup! remove logic from http_status definition in bp peg file --- test/katt_blueprint_parse_tests.erl | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/test/katt_blueprint_parse_tests.erl b/test/katt_blueprint_parse_tests.erl index 26c95ab..54aa126 100644 --- a/test/katt_blueprint_parse_tests.erl +++ b/test/katt_blueprint_parse_tests.erl @@ -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, _},