From 98374ea6fe8121481bd790e49743ae93941c9604 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Thu, 5 Dec 2019 16:08:18 +0200 Subject: [PATCH] CI: fix msvc (temporary work around dialogs poping up) --- vlib/compiler/tests/cstrings_test.v | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/vlib/compiler/tests/cstrings_test.v b/vlib/compiler/tests/cstrings_test.v index cc0ab5e810..3e3fc6e513 100644 --- a/vlib/compiler/tests/cstrings_test.v +++ b/vlib/compiler/tests/cstrings_test.v @@ -1,9 +1,8 @@ -fn C.puts(charptr) int - fn test_cstring(){ - h := c'world' - C.puts(c'hello') - C.puts(h) - assert true + w := c'world' + hlen := C.strlen(c'hello') + wlen := C.strlen(w) + assert hlen == 5 + assert wlen == 5 }