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):
79
79
80
80
def test_file_eq_failing_4 (self ):
81
81
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" )
82
84
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 )
86
89
# FIXME: These files are not supposed to be equal
87
90
self .assertEqual (file2 , file3 )
88
91
self .assertEqual (file1 , file2 )
You can’t perform that action at this time.
0 commit comments