From 488b9696926b9c2bc16376208d29b102924c1a46 Mon Sep 17 00:00:00 2001 From: Ryuichi Okumura Date: Thu, 17 Aug 2017 09:15:13 +0900 Subject: [PATCH] Bump watch version to ~0.18.0 (#101) * Reformat by running npm test * Bump watch version to ~0.18.0 --- package.json | 2 +- test/utils-test.js | 22 +++++++++++----------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index 9a6b569..ae9bab5 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "minimatch": "^3.0.2", "minimist": "^1.1.1", "walker": "~1.0.5", - "watch": "~0.10.0" + "watch": "~0.18.0" }, "devDependencies": { "eslint": "^3.19.0", diff --git a/test/utils-test.js b/test/utils-test.js index d330a1e..bb485e0 100644 --- a/test/utils-test.js +++ b/test/utils-test.js @@ -86,7 +86,7 @@ describe.only('RecrawlWarning', function() { it('new message', function() { assert.equal( RecrawlWarning.isRecrawlWarningDupe( - 'Recrawled this watch 1 times, most recently because:\n\/foo\/bar\/baz:' + 'Recrawled this watch 1 times, most recently because:\n/foo/bar/baz:' ), false ); @@ -95,13 +95,13 @@ describe.only('RecrawlWarning', function() { it('same message twice', function() { assert.equal( RecrawlWarning.isRecrawlWarningDupe( - 'Recrawled this watch 2 times, most recently because:\n\/foo\/bar\/baz:' + 'Recrawled this watch 2 times, most recently because:\n/foo/bar/baz:' ), false ); assert.equal( RecrawlWarning.isRecrawlWarningDupe( - 'Recrawled this watch 2 times, most recently because:\n\/foo\/bar\/baz:' + 'Recrawled this watch 2 times, most recently because:\n/foo/bar/baz:' ), true ); @@ -110,13 +110,13 @@ describe.only('RecrawlWarning', function() { it('same count, but different root twice', function() { assert.equal( RecrawlWarning.isRecrawlWarningDupe( - 'Recrawled this watch 2 times, most recently because:\n\/foo\/bar\/baz:' + 'Recrawled this watch 2 times, most recently because:\n/foo/bar/baz:' ), false ); assert.equal( RecrawlWarning.isRecrawlWarningDupe( - 'Recrawled this watch 2 times, most recently because:\n\/baz\/bar\/baz:' + 'Recrawled this watch 2 times, most recently because:\n/baz/bar/baz:' ), false ); @@ -125,19 +125,19 @@ describe.only('RecrawlWarning', function() { it('incrementing count, but fixed root', function() { assert.equal( RecrawlWarning.isRecrawlWarningDupe( - 'Recrawled this watch 2 times, most recently because:\n\/foo\/bar\/baz:' + 'Recrawled this watch 2 times, most recently because:\n/foo/bar/baz:' ), false ); assert.equal( RecrawlWarning.isRecrawlWarningDupe( - 'Recrawled this watch 3 times, most recently because:\n\/foo\/bar\/baz:' + 'Recrawled this watch 3 times, most recently because:\n/foo/bar/baz:' ), false ); assert.equal( RecrawlWarning.isRecrawlWarningDupe( - 'Recrawled this watch 4 times, most recently because:\n\/foo\/bar\/baz:' + 'Recrawled this watch 4 times, most recently because:\n/foo/bar/baz:' ), false ); @@ -146,19 +146,19 @@ describe.only('RecrawlWarning', function() { it('decrementing count, but fixed root', function() { assert.equal( RecrawlWarning.isRecrawlWarningDupe( - 'Recrawled this watch 4 times, most recently because:\n\/foo\/bar\/baz:' + 'Recrawled this watch 4 times, most recently because:\n/foo/bar/baz:' ), false ); assert.equal( RecrawlWarning.isRecrawlWarningDupe( - 'Recrawled this watch 3 times, most recently because:\n\/foo\/bar\/baz:' + 'Recrawled this watch 3 times, most recently because:\n/foo/bar/baz:' ), true ); assert.equal( RecrawlWarning.isRecrawlWarningDupe( - 'Recrawled this watch 2 times, most recently because:\n\/foo\/bar\/baz:' + 'Recrawled this watch 2 times, most recently because:\n/foo/bar/baz:' ), true );