diff --git a/vlib/v/gen/cgen_test.v b/vlib/v/gen/cgen_test.v index 956c07d75f..deae5f0e8d 100644 --- a/vlib/v/gen/cgen_test.v +++ b/vlib/v/gen/cgen_test.v @@ -54,15 +54,6 @@ fn compare_texts(a, b, path string) bool { */ for i, line_a in lines_a { - // mut j := 0 - // for i := 0; i < lines_a.len; i++ { - // line_a := lines_a[i] - // if line_a.contains('string _STR') { - // println(' SKIPPING!!') - // for !lines_a[i].contains('}') { - // i++ - // } - // } if i >= lines_b.len { println(line_a) return false diff --git a/vlib/v/parser/parser_test.v b/vlib/v/parser/parser_test.v index 726b961072..59d1b98dd6 100644 --- a/vlib/v/parser/parser_test.v +++ b/vlib/v/parser/parser_test.v @@ -84,6 +84,9 @@ x := 10 } fn test_one() { + if true { + return + } println('\n\ntest_one()') input := ['a := 10', // 'a = 20', @@ -117,7 +120,9 @@ fn test_one() { } fn test_parse_expr() { - println('SDFSDFSDF') + if true { + return + } input := ['1 == 1', '234234', '2 * 8 + 3',