mirror of
https://github.com/mtshiba/pylyzer.git
synced 2025-08-03 13:58:17 +00:00
Update the test
This commit is contained in:
parent
401a6f9b84
commit
d5485229cc
2 changed files with 6 additions and 3 deletions
|
@ -28,5 +28,8 @@ print(dic["c"]) # ERR
|
|||
a = [1, 2, 3]
|
||||
print(a[4]) # ERR
|
||||
|
||||
a_: str
|
||||
a_ = "aa" if True else "bb"
|
||||
i: int # OK
|
||||
i = 1
|
||||
i: str # ERR
|
||||
i = "aa" if True else "bb"
|
||||
i: str # OK
|
|
@ -27,7 +27,7 @@ pub fn expect(file_path: &'static str, warns: usize, errors: usize) {
|
|||
|
||||
#[test]
|
||||
fn exec_test() {
|
||||
expect("tests/test.py", 0, 8);
|
||||
expect("tests/test.py", 0, 9);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue