From 8d76f7d1959726413a8d34efcc549e4353977d88 Mon Sep 17 00:00:00 2001 From: Alexey Date: Thu, 13 Feb 2020 01:19:17 +0300 Subject: [PATCH] v2: remove redundant EOL normalization in cgen test --- vlib/v/gen/cgen_test.v | 4 ---- 1 file changed, 4 deletions(-) diff --git a/vlib/v/gen/cgen_test.v b/vlib/v/gen/cgen_test.v index 8373a8f119..0d526f00b5 100644 --- a/vlib/v/gen/cgen_test.v +++ b/vlib/v/gen/cgen_test.v @@ -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) {