From a7f5e78c5b30252c31fbebf55434f883adf05c73 Mon Sep 17 00:00:00 2001 From: "Ross A. Baker" Date: Tue, 2 Mar 2021 17:25:02 -0500 Subject: [PATCH] Delete HeaderParserSuite --- .../org/http4s/parser/HeaderParserSuite.scala | 29 ------------------- 1 file changed, 29 deletions(-) delete mode 100644 tests/src/test/scala/org/http4s/parser/HeaderParserSuite.scala diff --git a/tests/src/test/scala/org/http4s/parser/HeaderParserSuite.scala b/tests/src/test/scala/org/http4s/parser/HeaderParserSuite.scala deleted file mode 100644 index edd4190f24a..00000000000 --- a/tests/src/test/scala/org/http4s/parser/HeaderParserSuite.scala +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright 2013 http4s.org - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.http4s -package parser - -import org.typelevel.ci.CIString -import scala.util.Try - -class HeaderParserSuite extends Http4sSuite { - test("Header parsing should catch ParseFailures") { - val h2 = - Header.Raw(CIString("Date"), "Fri, 06 Feb 0010 15:28:43 GMT") // Invalid year: must be >= 1800 - assert(Try(h2.parsed).isSuccess) - } -}