Skip to content

Commit 6f9d8ae

Browse files
committed
Regenerate results.
1 parent df85db9 commit 6f9d8ae

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

conformance/results/pyrefly/directives_assert_type.toml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ errors_diff = """
44
"""
55
output = """
66
ERROR directives_assert_type.py:27:16-24: assert_type(int | str, int) failed [assert-type]
7-
ERROR directives_assert_type.py:28:16-24: assert_type(Any, int) failed [assert-type]
8-
ERROR directives_assert_type.py:29:16-24: assert_type(Literal[4], int) failed [assert-type]
9-
ERROR directives_assert_type.py:31:16-18: assert_type needs 2 positional arguments, got 0 [bad-argument-count]
10-
ERROR directives_assert_type.py:32:16-25: assert_type(Literal[''], int) failed [assert-type]
11-
ERROR directives_assert_type.py:33:16-33: assert_type needs 2 positional arguments, got 3 [bad-argument-count]
7+
ERROR directives_assert_type.py:28:16-24: assert_type(int | str, Any) failed [assert-type]
8+
ERROR directives_assert_type.py:29:16-24: assert_type(Any, int) failed [assert-type]
9+
ERROR directives_assert_type.py:30:16-24: assert_type(Literal[4], int) failed [assert-type]
10+
ERROR directives_assert_type.py:32:16-18: assert_type needs 2 positional arguments, got 0 [bad-argument-count]
11+
ERROR directives_assert_type.py:33:16-25: assert_type(Literal[''], int) failed [assert-type]
12+
ERROR directives_assert_type.py:34:16-33: assert_type needs 2 positional arguments, got 3 [bad-argument-count]
1213
"""

conformance/results/zuban/directives_assert_type.toml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@ errors_diff = """
33
"""
44
output = """
55
directives_assert_type.py:27: error: Expression is of type "int | str", not "int" [misc]
6-
directives_assert_type.py:28: error: Expression is of type "Any", not "int" [misc]
7-
directives_assert_type.py:29: error: Expression is of type "Literal[4]", not "int" [misc]
8-
directives_assert_type.py:31: error: "assert_type" expects 2 arguments [call-arg]
9-
directives_assert_type.py:32: error: Expression is of type "Literal['']", not "int" [misc]
10-
directives_assert_type.py:33: error: "assert_type" expects 2 arguments [call-arg]
6+
directives_assert_type.py:28: error: Expression is of type "int | str", not "Any" [misc]
7+
directives_assert_type.py:29: error: Expression is of type "Any", not "int" [misc]
8+
directives_assert_type.py:30: error: Expression is of type "Literal[4]", not "int" [misc]
9+
directives_assert_type.py:32: error: "assert_type" expects 2 arguments [call-arg]
10+
directives_assert_type.py:33: error: Expression is of type "Literal['']", not "int" [misc]
11+
directives_assert_type.py:34: error: "assert_type" expects 2 arguments [call-arg]
12+
directives_assert_type.py:41: error: Expression is of type "str", not "str | Literal['spam']" [misc]
1113
"""

0 commit comments

Comments
 (0)