Skip to content

Commit 44f6186

Browse files
committed
Add tests for paths with spaces
1 parent 5003653 commit 44f6186

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/Unit/SettingsAddPathsTest.php

+5
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ public static function dataAddPaths()
5959
'extra' => array('path/1', 'path/subdir/3'),
6060
'expected' => array('path/1', 'path/subdir/2', 'path/1', 'path/subdir/3'),
6161
),
62+
'Paths passed on CLI, paths with spaces' => array(
63+
'original' => array('path with/spaces between/1', 'path with/spaces between/subdir/2'),
64+
'extra' => array('path/1', 'path/subdir/3', 'path/with spaces'),
65+
'expected' => array('path with/spaces between/1', 'path with/spaces between/subdir/2', 'path/1', 'path/subdir/3', 'path/with spaces'),
66+
)
6267
);
6368
}
6469
}

0 commit comments

Comments
 (0)