# HG changeset patch # User Anders Johnsen # Date 1216590113 -7200 # Node ID 1e48315c36fcc99708b713be277dfb8c4b817181 # Parent 85d609399fdf6838b100dd0ed9bac8f9d956bda6 Made the test program work with >59 tests. diff -r 85d609399fdf -r 1e48315c36fc tests/run.d --- a/tests/run.d Sun Jul 20 23:24:23 2008 +0200 +++ b/tests/run.d Sun Jul 20 23:41:53 2008 +0200 @@ -72,7 +72,8 @@ char[60] progressbar = ' '; int progress = number*progressbar.length/total_tests; progressbar[0 .. progress] = '='; - progressbar[progress-1] = '>'; + if(progress) + progressbar[progress-1] = '>'; Stdout.format("\r{}% - [{}]", 1e2 * number / total_tests, progressbar); Stdout.flush(); //Thread.sleep(0.05);