mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
ci: fix some of v test-cleancode
4
This commit is contained in:
@ -182,7 +182,7 @@ pub fn (mut f File) writeln(s string) ?int {
|
||||
if written == 0 && s.len != 0 {
|
||||
return error('0 bytes written')
|
||||
}
|
||||
x := C.fputs('\n', f.cfile)
|
||||
x := C.fputs(c'\n', f.cfile)
|
||||
if x < 0 {
|
||||
return error('could not add newline')
|
||||
}
|
||||
|
Reference in New Issue
Block a user