From 80397d4f73d2258b6368d672971af10897c3c8c2 Mon Sep 17 00:00:00 2001 From: barryhughes <3594411+barryhughes@users.noreply.github.com> Date: Fri, 25 Mar 2022 04:14:49 -0700 Subject: [PATCH] Improve test description. --- .../woocommerce/tests/php/src/Internal/Utilities/URLTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/woocommerce/tests/php/src/Internal/Utilities/URLTest.php b/plugins/woocommerce/tests/php/src/Internal/Utilities/URLTest.php index 84103e7fde5..168b5920781 100644 --- a/plugins/woocommerce/tests/php/src/Internal/Utilities/URLTest.php +++ b/plugins/woocommerce/tests/php/src/Internal/Utilities/URLTest.php @@ -198,7 +198,7 @@ class URLTest extends WC_Unit_Test_Case { 'file://./', ), ( new URL( 'relative/to/abspath' ) )->get_all_parent_urls(), - 'When obtaining all parent URLs for a relative filepath, we never return the root directory and never return a URL containing traversals. ' + 'When obtaining all parent URLs for a relative filepath, we never return the root directory and never return a URL containing traversals if there were none to begin with.' ); $this->assertEquals(