diff --git a/tests/Unit/SettingsAddPathsTest.php b/tests/Unit/SettingsAddPathsTest.php index bd72c0d8..4de00281 100644 --- a/tests/Unit/SettingsAddPathsTest.php +++ b/tests/Unit/SettingsAddPathsTest.php @@ -59,6 +59,11 @@ public static function dataAddPaths() 'extra' => array('path/1', 'path/subdir/3'), 'expected' => array('path/1', 'path/subdir/2', 'path/1', 'path/subdir/3'), ), + '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'), + 'expected' => array('path with/spaces between/1', 'path with/spaces between/subdir/2', 'path/1', 'path/subdir/3', 'path/with spaces'), + ) ); } }