[Lldb-commits] [lldb] [lldb] Swap the architecture comparison. (PR #214771)

David Spickett via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 7 08:32:50 PDT 2026


================
@@ -48,7 +48,7 @@ def test_g_target_xml_returns_correct_data(self):
         }
         arch: str = self.getArchitecture()
         expected_arch = replaced_arch.get(arch, arch)
-        self.assertIn(architecture.text, expected_arch)
+        self.assertIn(expected_arch, architecture.text)
----------------
DavidSpickett wrote:

(there's no assertStartsWith I don't think, I mean the python string function)

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


More information about the lldb-commits mailing list