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

jaikiran pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ant.git


The following commit(s) were added to refs/heads/master by this push:
     new 9318eedbd Fix failing testhttpurl1 test - http://www.w3.org/MarkUp/ no 
longer returns a content-length header. Switch to a different URL which returns 
one.
9318eedbd is described below

commit 9318eedbda781e720aa63417f740f54eeff5d702
Author: Jaikiran Pai <jaiki...@apache.org>
AuthorDate: Sun Dec 11 13:49:52 2022 +0530

    Fix failing testhttpurl1 test - http://www.w3.org/MarkUp/ no longer returns 
a content-length header. Switch to a different URL which returns one.
---
 src/tests/antunit/types/resources/test.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tests/antunit/types/resources/test.xml 
b/src/tests/antunit/types/resources/test.xml
index 7afeb5c50..30906fb51 100644
--- a/src/tests/antunit/types/resources/test.xml
+++ b/src/tests/antunit/types/resources/test.xml
@@ -273,7 +273,7 @@
   <target name="testhttpurl1" unless="offline">
     <au:assertTrue>
       <length when="greater" length="0">
-        <url url="http://www.w3.org/MarkUp/"; />
+        <url url="https://ant.apache.org/index.html"; />
       </length>
     </au:assertTrue>
   </target>

Reply via email to