v2: remove redundant EOL normalization in cgen test

pull/3725/head
Alexey 2020-02-13 01:19:17 +03:00 committed by GitHub
parent 9d46fb9f90
commit 8d76f7d195
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -22,10 +22,6 @@ fn test_c_files() {
panic(err)
}
ctext = ctext // unused warn
// normalise line endings on win
$if windows {
ctext = ctext.replace('\r', '')
}
mut b := builder.new_builder(pref.Preferences{})
res := b.gen_c([path])
if compare_texts(res, ctext) {