Skip to content

Commit

Permalink
Issue #34: Test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Masara committed Nov 18, 2023
1 parent d29d3d4 commit b6a7051
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
22 changes: 11 additions & 11 deletions tests/safeds_stubgen/__snapshots__/test_main.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
'is_public': True,
'is_static': True,
'is_type_inferred': True,
'name': 'arsam',
'name': 'infer_attr',
'type': dict({
'kind': 'NamedType',
'name': 'int',
Expand Down Expand Up @@ -1050,7 +1050,7 @@
}),
dict({
'attributes': list([
'test_package/test_module/InferMyTypes/arsam',
'test_package/test_module/InferMyTypes/infer_attr',
'test_package/test_module/InferMyTypes/init_infer',
]),
'classes': list([
Expand Down Expand Up @@ -1081,7 +1081,7 @@
'id': 'test_package/test_module/InferMyTypes',
'is_public': True,
'methods': list([
'test_package/test_module/InferMyTypes/arsam_function',
'test_package/test_module/InferMyTypes/infer_function',
]),
'name': 'InferMyTypes',
'reexported_by': list([
Expand Down Expand Up @@ -1777,21 +1777,21 @@
'is_class_method': False,
'is_public': True,
'is_static': True,
'name': 'arsam_function',
'name': 'infer_function',
'parameters': list([
'test_package/test_module/InferMyTypes/infer_function/infer_param',
'test_package/test_module/InferMyTypes/infer_function/infer_param_2',
]),
'reexported_by': list([
]),
'results': list([
'test_package/test_module/InferMyTypes/arsam_function/result_1',
'test_package/test_module/InferMyTypes/arsam_function/result_2',
'test_package/test_module/InferMyTypes/arsam_function/result_3',
'test_package/test_module/InferMyTypes/arsam_function/result_4',
'test_package/test_module/InferMyTypes/arsam_function/result_5',
'test_package/test_module/InferMyTypes/arsam_function/result_6',
'test_package/test_module/InferMyTypes/arsam_function/result_7',
'test_package/test_module/InferMyTypes/infer_function/result_1',
'test_package/test_module/InferMyTypes/infer_function/result_2',
'test_package/test_module/InferMyTypes/infer_function/result_3',
'test_package/test_module/InferMyTypes/infer_function/result_4',
'test_package/test_module/InferMyTypes/infer_function/result_5',
'test_package/test_module/InferMyTypes/infer_function/result_6',
'test_package/test_module/InferMyTypes/infer_function/result_7',
]),
}),
dict({
Expand Down
1 change: 1 addition & 0 deletions tests/safeds_stubgen/api_analyzer/test_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def test_correct_hash() -> None:
min_inclusive=True,
max_inclusive=True,
),
is_type_inferred=False,
is_public=True,
is_static=True,
docstring=AttributeDocstring(),
Expand Down

0 comments on commit b6a7051

Please sign in to comment.