From b49c8a11b6e6f0d94388afc6e74e99c08eb361da Mon Sep 17 00:00:00 2001 From: Marcel Schaeben Date: Thu, 17 Mar 2016 18:00:54 +0100 Subject: [PATCH] test: fix test for .newer --- spec/test.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spec/test.js b/spec/test.js index 030187d..0cdc2ab 100644 --- a/spec/test.js +++ b/spec/test.js @@ -249,8 +249,7 @@ test('newer-no-resend', function (t) { files += 1 if (c.relative === 'test.json.xql') { return t.ok(true, 'found test.json.xql') - } - if (c.relative === 'test.unsent.xql') { + } else { t.fail('attempted to send the file: ' + c.relative) } })