Skip to content

Commit 5458f4d

Browse files
authored
Update check-errorcodes.test
1 parent 9d0ae67 commit 5458f4d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test-data/unit/check-errorcodes.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ main:1: error: Invalid syntax [syntax]
3838
main:1: error: Invalid syntax. Perhaps you forgot a comma? [syntax]
3939

4040
[case testErrorCodeSyntaxError2]
41-
def f(): # E: Type signature has too many arguments [syntax]
41+
def f(): # E: Type signature has too many parameters [syntax]
4242
# type: (int) -> None
4343
1
4444

@@ -549,7 +549,7 @@ def f(x): # E: Type signature has too few arguments [syntax]
549549
# type: () -> None
550550
pass
551551

552-
def g(x): # E: Type signature has too many arguments [syntax]
552+
def g(x): # E: Type signature has too many parameters [syntax]
553553
# type: (int, int) -> None
554554
pass
555555

0 commit comments

Comments
 (0)