From 6ea741e26ec08a2ac7b75cc5f0f179c25b1e81b8 Mon Sep 17 00:00:00 2001 From: Alexander Medvednikov Date: Fri, 8 May 2020 16:18:14 +0200 Subject: [PATCH] Revert "tests: valgrind: enable string tests" This reverts commit 1ea13ac7f399ba7026e8f6e86d46e6bbdaf2309f. --- vlib/v/tests/valgrind/1.vv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vlib/v/tests/valgrind/1.vv b/vlib/v/tests/valgrind/1.vv index 7b1f596d8f..161c5b1c10 100644 --- a/vlib/v/tests/valgrind/1.vv +++ b/vlib/v/tests/valgrind/1.vv @@ -12,8 +12,8 @@ fn foo() { nums_copy := nums // array assignments call .clone() println(nums_copy) - name := 'Peter' // string literals mustn't be freed - str_inter := 'hello, $name' // concatenated strings must be freed + //name := 'Peter' // string literals mustn't be freed + //str_inter := 'hello, $name' // concatenated strings must be freed //nums.free() // this should result in a double free and a CI error