mirror of
https://github.com/vlang/v.git
synced 2025-09-15 15:32:27 +03:00
v2: remove redundant EOL normalization in cgen test
This commit is contained in:
parent
9d46fb9f90
commit
8d76f7d195
1 changed files with 0 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue