X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=phantom-driver.js;h=9b98fdf14660386797ec806538506ee8b9078daf;hb=c3491213337a0241107430ad15038c2f18fa5789;hp=6e4c18e9d9f180bbb57431604bfe1b220ca9b266;hpb=0f20de1c01823dd14dadff582c264a05605ee67b;p=dygraphs.git diff --git a/phantom-driver.js b/phantom-driver.js index 6e4c18e..9b98fdf 100644 --- a/phantom-driver.js +++ b/phantom-driver.js @@ -179,8 +179,9 @@ RunAllAutoTests(function(num_failing, num_passing) { if (num_failing !== 0) { console.log('FAIL'); phantom.exit(); + } else { + console.log('PASS'); } - console.log('PASS'); phantom.exit(); // This is not yet reliable enough to be useful: