diff --git a/ext/jasmine-webkit-specrunner/ConsoleOutput.cpp b/ext/jasmine-webkit-specrunner/ConsoleOutput.cpp index 0ae5172..edca3ce 100644 --- a/ext/jasmine-webkit-specrunner/ConsoleOutput.cpp +++ b/ext/jasmine-webkit-specrunner/ConsoleOutput.cpp @@ -10,7 +10,7 @@ namespace HeadlessSpecRunner { green(); *outputIO << '.'; clear(); - fflush(stdout); + outputIO->flush(); successes.push(specDetail); } @@ -20,7 +20,7 @@ namespace HeadlessSpecRunner { red(); *outputIO << 'F'; clear(); - fflush(stdout); + outputIO->flush(); failures.push(specDetail); }