]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Expect 0 assertions to fix #2382
authorMatt Johnson <mj1856@hotmail.com>
Sun, 12 Jul 2015 05:39:51 +0000 (22:39 -0700)
committerIskren Chernev <iskren.chernev@gmail.com>
Mon, 13 Jul 2015 00:47:21 +0000 (17:47 -0700)
src/test/moment/add_subtract.js

index 18df93ce36eabbf67f1beb166049fffae1b8bf25..d76f6f77ebb950db989c54ac27829191229ceb03 100644 (file)
@@ -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;
     }