================ @@ -16,3 +17,16 @@ def test_file(self): self.assertEqual(str(file), "t.c") self.assertEqual(file.name, "t.c") self.assertEqual(repr(file), "<File: t.c>") + + def test_file_eq(self): + path = os.path.join(kInputsDir, "hello.cpp") + header_path = os.path.join(kInputsDir, "header3.h") + tu = TranslationUnit.from_source(path) ---------------- DeinAlptraum wrote:
I added the test with in-memory files first to check, because I suspect this might be a problem with those specifically... I'll abuse the CI for testing here since I can't reproduce the issue locally. Will try using disk files for the test afterwards. https://github.com/llvm/llvm-project/pull/130383 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits