Added assert to test when the specified minimum length is lesser than th...

...e length of the unpadded string.

Modified str_repeat() to pass the test.