mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: fix dump_expression.vv when v is actually vprod (-‸ლ)
This commit is contained in:
parent
e8c8f0e7c0
commit
f3388df577
@ -15,5 +15,5 @@
|
||||
y: 2
|
||||
z: 3
|
||||
}
|
||||
[vlib/v/tests/inout/dump_expression.vv:38] os.file_name(vexe).replace('.exe', ''): v
|
||||
[vlib/v/tests/inout/dump_expression.vv:38] os.file_name(vfile): dump_expression.vv
|
||||
[vlib/v/tests/inout/dump_expression.vv:41] f.read(mut buf): 10
|
||||
|
@ -34,9 +34,9 @@ fn dump_of_struct() {
|
||||
}
|
||||
|
||||
fn dump_of_callexpr() {
|
||||
vexe := @VEXE
|
||||
dump(os.file_name(vexe).replace('.exe', ''))
|
||||
mut f := os.open_file(os.join_path(os.dir(vexe), 'Makefile'), 'r') or { return }
|
||||
vfile := @FILE
|
||||
dump(os.file_name(vfile))
|
||||
mut f := os.open_file(@FILE, 'r') or { return }
|
||||
mut buf := []byte{len: 10}
|
||||
dump(f.read(mut buf) or { -999 })
|
||||
f.close()
|
||||
|
Loading…
x
Reference in New Issue
Block a user