diff --git a/lib/Reporter.js b/lib/Reporter.js
index <HASH>..<HASH> 100644
--- a/lib/Reporter.js
+++ b/lib/Reporter.js
@@ -65,10 +65,7 @@ Reporter.prototype._end = function(data){
 Reporter.prototype.clearLine = function() {
   if (!this._lastLine) return;
 
-  var spaces = ' ';
-  for(i in this._lastLine.length){
-    spaces += ' ';
-  }
+  var spaces = str.repeat(' ', this._lastLine.length);
 
   process.stdout.write('\r' + spaces + '\r');
 };
diff --git a/test/unit/testReporter.js b/test/unit/testReporter.js
index <HASH>..<HASH> 100644
--- a/test/unit/testReporter.js
+++ b/test/unit/testReporter.js
@@ -13,5 +13,5 @@ var assert = require('assert');
   reporter._progress = 5;
 
   var progress = reporter.getProgress();
-  assert('5/10 50%', progress)
+  assert.equal('5/10 50.0%', progress)
 })();
\ No newline at end of file
Fixed test and used repeater for clear line