================
@@ -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:
Is `In` too lax and should it be `startsWith`? For instance `???riscv:rv32???`
should fail the test but it wouldn't when using `In` to check.
https://github.com/llvm/llvm-project/pull/214771
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits