From 81541c56b6e489c14287e99cff239a89d9553e49 Mon Sep 17 00:00:00 2001
From: Lukas Reschke <lukas@owncloud.com>
Date: Thu, 4 Dec 2014 12:16:33 +0100
Subject: [PATCH] Add test for IPv6 without port

---
 tests/lib/request.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/lib/request.php b/tests/lib/request.php
index 3b70ed0ba2..ea3722b90a 100644
--- a/tests/lib/request.php
+++ b/tests/lib/request.php
@@ -232,7 +232,8 @@ class Test_Request extends \Test\TestCase {
 		return array(
 			array('localhost:500', 'localhost'),
 			array('foo.com', 'foo.com'),
-			array('[1fff:0:a88:85a3::ac1f]:801', '[1fff:0:a88:85a3::ac1f]')
+			array('[1fff:0:a88:85a3::ac1f]:801', '[1fff:0:a88:85a3::ac1f]'),
+			array('[1fff:0:a88:85a3::ac1f]', '[1fff:0:a88:85a3::ac1f]')
 		);
 	}
 
-- 
GitLab