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) == '' +}