[all-commits] [llvm/llvm-project] b9541b: Fix the root directory completion test.

jimingham via All-commits all-commits at lists.llvm.org
Mon Jul 17 10:53:47 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b9541b6707715b8ea07b47f453f001e698195b3e
      https://github.com/llvm/llvm-project/commit/b9541b6707715b8ea07b47f453f001e698195b3e
  Author: Jim Ingham <jingham at apple.com>
  Date:   2023-07-17 (Mon, 17 Jul 2023)

  Changed paths:
    M lldb/test/API/functionalities/completion/TestCompletion.py

  Log Message:
  -----------
  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.




More information about the All-commits mailing list