Skip to content

Commit c4a969e

Browse files
committed
Fixes tests
1 parent 0ab6258 commit c4a969e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

typesafety/test_typeclass/test_supports/test_typeguard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@
5151
reveal_type(item)
5252
to_json(item) # ok
5353
out: |
54-
main:20: error: Argument 1 to "to_json" has incompatible type "Union[int, str]"; expected "Union[int, Dict[Any, Any], Supports[ToJson]]"
55-
main:23: note: Revealed type is "Union[builtins.int, builtins.dict[Any, Any]]"
54+
main:20: error: Argument 1 to "to_json" has incompatible type "Union[int, str]"; expected "Union[Dict[Any, Any], int, Supports[ToJson]]"
55+
main:23: note: Revealed type is "Union[builtins.dict[Any, Any], builtins.int]"
5656
5757
5858
- case: typeclass_function_supports_typeguard_generic1

0 commit comments

Comments
 (0)