[Lldb-commits] [PATCH] D134515: [lldb] Fix completion of 'settings set' values

Dave Lee via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 23 09:49:29 PDT 2022


kastiglione added inline comments.


================
Comment at: lldb/test/API/functionalities/completion/TestCompletion.py:410
+        """Test that 'settins set stop-disassembly-display ' completes to [
+        'never', 'always', 'no-debuginfo', 'no-source']."""
+        self.complete_from_to('settings set stop-disassembly-display ',
----------------
DavidSpickett wrote:
> Could you add to the comment why this one was chosen in particular? Something like:
> ```
> Checks that we can complete a setting that has enum values.
> ```
> 
> Since there is a `settings set` test above but clearly that wasn't enough coverage.
done, I also renamed the test to describe why not what.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D134515/new/

https://reviews.llvm.org/D134515



More information about the lldb-commits mailing list