diff --git a/tests/Unit/SettingsAddPathsTest.php b/tests/Unit/SettingsAddPathsTest.php index 458a43d..718e83e 100644 --- a/tests/Unit/SettingsAddPathsTest.php +++ b/tests/Unit/SettingsAddPathsTest.php @@ -61,13 +61,21 @@ public static function dataAddPaths() ), 'Paths passed on CLI, paths with spaces' => array( 'original' => array('path with/spaces between/1', 'path with/spaces between/subdir/2'), - 'extra' => array('path/1', 'path/subdir/3', 'path/with spaces'), + 'extra' => array( + 'path/1', + 'path/subdir/3', + 'path/with spaces', + 'windows-path\with spaces\and\backslashes', + 'windows path\with spaces\and\backslashes' + ), 'expected' => array( 'path with/spaces between/1', 'path with/spaces between/subdir/2', 'path/1', 'path/subdir/3', - 'path/with spaces' + 'path/with spaces', + 'windows-path\with spaces\and\backslashes', + 'windows path\with spaces\and\backslashes', ), ) );