ci: fix dump_expression.vv when v is actually vprod (-‸ლ)
							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,11 +34,11 @@ 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 } | ||||
| 	mut buf := []byte{len:10} | ||||
| 	dump( f.read(mut buf) or { -999 }) | ||||
| 	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…
	
		Reference in New Issue