Skip to content

Commit

Permalink
test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Masara committed Apr 22, 2024
1 parent 40b3e87 commit a2bd81a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/safeds_stubgen/api_analyzer/_ast_visitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,8 @@ def enter_classdef(self, node: mp_nodes.ClassDef) -> None:

# Get reexported data
reexported_by = self._get_reexported_by(node.fullname)
# Sort for snapshot tests
reexported_by.sort(key=lambda x: x.id)

# Get constructor docstring
definitions = get_classdef_definitions(node)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5582,8 +5582,8 @@
'parameters': list([
]),
'reexported_by': list([
'tests/data/various_modules_package',
'tests/data/various_modules_package/file_creation/package_1',
'tests/data/various_modules_package',
]),
'results': list([
'tests/data/various_modules_package/_reexport_module_3/reexported_function_3/result_1',
Expand Down

0 comments on commit a2bd81a

Please sign in to comment.