This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch 8.5.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/8.5.x by this push:
     new c570f88004 Remove unnecessary (and broken) test
c570f88004 is described below

commit c570f8800448e291b8b1c3b8401049c4d878e203
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Aug 2 15:47:09 2022 +0100

    Remove unnecessary (and broken) test
---
 test/org/apache/tomcat/util/http/parser/TestRanges.java | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/test/org/apache/tomcat/util/http/parser/TestRanges.java 
b/test/org/apache/tomcat/util/http/parser/TestRanges.java
index 0e973e0748..7de9dba29b 100644
--- a/test/org/apache/tomcat/util/http/parser/TestRanges.java
+++ b/test/org/apache/tomcat/util/http/parser/TestRanges.java
@@ -18,7 +18,6 @@ package org.apache.tomcat.util.http.parser;
 
 import java.io.IOException;
 import java.io.StringReader;
-import java.util.ArrayList;
 import java.util.List;
 
 import org.junit.Assert;
@@ -99,14 +98,6 @@ public class TestRanges {
     }
 
 
-    @Test
-    public void testNullUnits() throws Exception {
-        Ranges r = new Ranges(null, new ArrayList<>());
-        Assert.assertNotNull(r);
-        Assert.assertNull(r.getUnits());
-    }
-
-
     @Test
     public void testValid03() throws Exception {
         Ranges r = parse("bytes=21-");


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to