Remove a lot of nonsense from refactoring tests

This commit is contained in:
Dave Halter committed 2020-02-10 20:04:48 +01:00
1 parent 4cc03d2239
commit e22a44d79e
3 files changed
+13 -16

No files matched your search

+5 -2
View File
@@ -41,8 +41,11 @@ class Refactoring(object):
def get_changed_files(self):
return [
ChangedFile(self._grammar, path, next(iter(map_)).get_root_node(), map_)
for path, map_ in self._file_to_node_changes.items()
ChangedFile(
self._grammar, path,
module_node=next(iter(map_)).get_root_node(),
node_to_str_map=map_
) for path, map_ in self._file_to_node_changes.items()
]
def get_renames(self):