diff --git a/coverage.svg b/coverage.svg
index d1552ca..6d8b292 100644
--- a/coverage.svg
+++ b/coverage.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/test.js b/test.js
index 0f72bda..5d88168 100644
--- a/test.js
+++ b/test.js
@@ -72,7 +72,10 @@ describe('the server', function() {
// Start running the server.
it('should start', function(done) {
server = cproc.spawn('node', ['ass-stubs/server-test.js', port]);
- server.stdout.on('data', function(data) { done(); });
+ var isDone = false;
+ server.stdout.on('data', function(data) {
+ if (!isDone) { done(); isDone = true; }
+ });
server.stderr.on('data', function(data) { console.log(''+data); });
});