tests: cleanup look for assertions. Fix jump to failure in emacs/vim again
parent
8e06f4e519
commit
f93445a022
|
@ -21,8 +21,7 @@ fn cb_assertion_failed(filename string, line int, sourceline string, funcname st
|
|||
}
|
||||
final_filename := if use_relative_paths { filename } else { os.real_path(filename) }
|
||||
final_funcname := funcname.replace('main__', '').replace('__', '.')
|
||||
eprintln('File : $final_filename:$line')
|
||||
eprintln('Function: $final_funcname')
|
||||
eprintln('$final_filename:$line: failed assert in ${final_funcname}')
|
||||
eprintln('Source : $sourceline')
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue