Fix the root directory completion test.
authorJim Ingham <jingham@apple.com>
Mon, 17 Jul 2023 17:50:17 +0000 (10:50 -0700)
committerJim Ingham <jingham@apple.com>
Mon, 17 Jul 2023 17:52:29 +0000 (10:52 -0700)
commitb9541b6707715b8ea07b47f453f001e698195b3e
treef3fd83470f09890286565d37b233de0d266ec07c
parentf26d05d306a2dafefb82dc2a98e267b96f06390d
Fix the root directory completion test.

It was implicitly assumning that "/" would have no files in it, only
directories.  That's not true, for instance on macOS if you've navigated
to the root directory in the Finder...

Since we're assuming everything we check against is a directory, then we
need to filter the completion for that coming in.
lldb/test/API/functionalities/completion/TestCompletion.py