Skip to content

Commit eddc00b

Browse files
committed
gopy: update test for new error message
Signed-off-by: Sebastien Binet <[email protected]>
1 parent 1e88c8e commit eddc00b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ caught: can't work for 24 hours!
215215
--- p.Salary(24): caught: can't work for 24 hours!
216216
--- Person.__init__
217217
caught: argument 2 must be str, not int | err-type: <class 'TypeError'>
218-
caught: an integer is required (got type str) | err-type: <class 'TypeError'>
218+
caught: 'str' object cannot be interpreted as an integer | err-type: <class 'TypeError'>
219219
*ERROR* no exception raised!
220220
hi.Person{Name="name", Age=0}
221221
hi.Person{Name="name", Age=42}

0 commit comments

Comments
 (0)