ci: fix tests output files after 7f5c3cc

pull/9872/head
Delyan Angelov 2021-04-25 09:19:44 +03:00
parent bb4f0ed4a9
commit 44902b5aba
No known key found for this signature in database
GPG Key ID: 66886C0F12D595ED
2 changed files with 8 additions and 15 deletions

View File

@ -12,10 +12,3 @@ vlib/v/checker/tests/chan_ref.vv:12:8: error: cannot push non-reference `St` on
| ^
13 | // the following works
14 | y := &St{}
vlib/v/checker/tests/chan_ref.vv:28:11: error: cannot have a mutable reference to object from `chan &St`
26 | y := <-c
27 | // this should fail
28 | mut z := <-c
| ~~
29 | z.n = 9
30 | sem.post()

View File

@ -1,14 +1,14 @@
g.v:9:6: warning: unused variable: `unused_var`
7 |
8 | fn main() {
9 | mut unused_var := Foo{}
| ~~~~~~~~~~
10 | unused_var = Foo{}
11 | mut c := &constant
g.v:11:14: error: `constant` is immutable, cannot have a mutable reference to it
vlib/v/checker/tests/modify_const_with_ref.vv:11:11: error: `constant` is immutable, cannot have a mutable reference to it
9 | mut unused_var := Foo{}
10 | unused_var = Foo{}
11 | mut c := &constant
| ^
12 | c.value = 200
13 | }
vlib/v/checker/tests/modify_const_with_ref.vv:9:6: error: unused variable: `unused_var`
7 |
8 | fn main() {
9 | mut unused_var := Foo{}
| ~~~~~~~~~~
10 | unused_var = Foo{}
11 | mut c := &constant