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) {