1
0
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:
Delyan Angelov
2021-04-05 21:39:32 +03:00
parent 9aabf222fe
commit 291a88bc62
9 changed files with 60 additions and 60 deletions

View File

@ -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')
}