From dce18de151d32eec53685932a638079c50b2c1f0 Mon Sep 17 00:00:00 2001 From: hellofromTonya Date: Wed, 18 Sep 2024 18:22:15 +0000 Subject: [PATCH] Tests: Introduce assertion for comparing file paths independent of OS-specifics. Introduces `WP_UnitTestCase_Base::assertSamePathIgnoringDirectorySeparators()` and an associated helper method `WP_UnitTestCase_Base::normalizeDirectorySeparatorsInPath()` to allow for comparing two file path strings independently of OS-specific differences. The normalization is done in a separate method to also allow this method to be used for path normalization within test methods themselves, like for normalizing a group of paths in an array. The pretty specific method name for the helper (`normalizeDirectorySeparatorsInPath()`) is an attempt to prevent naming conflicts with methods which may exist in plugin test suites build on top of the WP Core test suite. Props jrf, hellofromTonya. See #61530. Built from https://develop.svn.wordpress.org/trunk@59057 git-svn-id: http://core.svn.wordpress.org/trunk@58453 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index c02a674ce1..88c0251f26 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-alpha-59056'; +$wp_version = '6.7-alpha-59057'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.