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

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


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

commit 2c76a2c0fa6b4835ee4357b5c285d12d3889eb20
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Tue Aug 2 15:46:31 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