package com.github.agiledon.sisyphus.util;

import org.junit.Test;

import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;

public class StringUtilTest {
    @Test
    public void should_generate_empty_string_if_count_equal_to_zero() {
        assertThat(StringUtil.spaces(0), is(""));
    }

    @Test
    public void should_generate_space_string_if_count_equal_to_zero() {
        assertThat(StringUtil.spaces(5), is("     "));
    }
}

@@ -383,36 +383,36 @@
 _count_equal_to_
-zero
+five
 () %7B%0A        ass

correct test