File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
clang/bindings/python/tests/cindex Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -79,10 +79,13 @@ def test_file_eq_failing_3(self):
7979
8080 def test_file_eq_failing_4 (self ):
8181 path = os .path .join (inputs_dir , "testfile.c" )
82+ path_a = os .path .join (inputs_dir , "a.inc" )
83+ path_b = os .path .join (inputs_dir , "b.inc" )
8284 tu = TranslationUnit .from_source (path )
83- file1 = File .from_name (tu , "testfile.c" )
84- file2 = File .from_name (tu , "a.c" )
85- file3 = File .from_name (tu , "b.c" )
85+ print (tu .spelling , tu .cursor .spelling )
86+ file1 = File .from_name (tu , path )
87+ file2 = File .from_name (tu , path_a )
88+ file3 = File .from_name (tu , path_b )
8689 # FIXME: These files are not supposed to be equal
8790 self .assertEqual (file2 , file3 )
8891 self .assertEqual (file1 , file2 )
You can’t perform that action at this time.
0 commit comments