[Lldb-commits] [lldb] [lldb] Fix `po` alias by printing fix-its to the console. (PR #68452)

Dave Lee via lldb-commits lldb-commits at lists.llvm.org
Fri Oct 6 15:05:54 PDT 2023


================
@@ -0,0 +1,27 @@
+"""
+Tests whether the do-what-I-mean (DWIM) print `po` alias applies FixIts like `expr` does
+"""
+import lldb
+from lldbsuite.test.decorators import *
+from lldbsuite.test.lldbtest import *
+from lldbsuite.test import lldbutil
+
+
+class CPP_DWIM_Fixit_TestCase(TestBase):
----------------
kastiglione wrote:

This should be named either `TestCase` by itself, or should match the name of the file. I prefer `TestCase`, but it's up to you. Additionally, class names typically don't use underscores in their name.

https://github.com/llvm/llvm-project/pull/68452


More information about the lldb-commits mailing list