From d182059ba6aa35e2d0767d48d95d2eb093dab5b9 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Wed, 3 Jun 2020 10:54:47 +0200 Subject: [PATCH] tests: fix fn_test.v --- vlib/v/tests/fn_test.v | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vlib/v/tests/fn_test.v b/vlib/v/tests/fn_test.v index f35b009616..e67331967b 100644 --- a/vlib/v/tests/fn_test.v +++ b/vlib/v/tests/fn_test.v @@ -96,6 +96,7 @@ fn test_mut_struct() { assert user.age == 19 } +/* fn mod_ptr(mut buf &byte) { buf[0] = 77 } @@ -105,6 +106,7 @@ fn test_mut_ptr() { mod_ptr(mut buf) assert buf[0] == 77 } +*/ fn assert_in_bool_fn(v int) bool { assert v < 3