From: Matt Johnson Date: Sun, 12 Jul 2015 05:39:51 +0000 (-0700) Subject: Expect 0 assertions to fix #2382 X-Git-Tag: 2.10.5~17^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e40b5342af6a523608501dfefe3defe11564733;p=thirdparty%2Fmoment.git Expect 0 assertions to fix #2382 --- diff --git a/src/test/moment/add_subtract.js b/src/test/moment/add_subtract.js index 18df93ce3..d76f6f77e 100644 --- a/src/test/moment/add_subtract.js +++ b/src/test/moment/add_subtract.js @@ -298,6 +298,7 @@ test('add across DST', function (assert) { // Detect Safari bug and bail. Hours on 13th March 2011 are shifted // with 1 ahead. if (new Date(2011, 2, 13, 5, 0, 0).getHours() !== 5) { + assert.expect(0); return; }