From b88cb1ca693c53a4b768e7eb554293ade9d432f4 Mon Sep 17 00:00:00 2001 From: Alexey Date: Sun, 22 Dec 2019 02:05:30 +0300 Subject: [PATCH] extend tests for `strings` module --- vlib/strings/strings_test.v | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/vlib/strings/strings_test.v b/vlib/strings/strings_test.v index 2f87855181..1b20d640b6 100644 --- a/vlib/strings/strings_test.v +++ b/vlib/strings/strings_test.v @@ -1,6 +1,7 @@ import strings fn test_repeat() { - assert strings.repeat(`x`, 10) == 'xxxxxxxxxx' - assert strings.repeat(`a`, 1) == 'a' -} + assert strings.repeat(`x`, 10) == 'xxxxxxxxxx' + assert strings.repeat(`a`, 1) == 'a' + assert strings.repeat(`a`, 0) == '' +}