From 361758c5781a165d348475225bc99a1b2239d6be Mon Sep 17 00:00:00 2001 From: Julius Tens Date: Fri, 16 Mar 2018 14:38:08 +0100 Subject: [PATCH] clarify code comments --- test/db.js | 4 ++-- test/oebb.js | 4 ++-- test/vbb.js | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/db.js b/test/db.js index 27242e4a..62f39074 100644 --- a/test/db.js +++ b/test/db.js @@ -234,7 +234,7 @@ test('journeys: via works – with detour', co(function* (t) { t.ok(journey) const l = journey.legs.some(l => l.passed && l.passed.some(p => p.station.id === württembergallee)) - t.ok(l, 'no stopover at Württembergalle') + t.ok(l, 'Württembergalle is not being passed') t.end() })) @@ -255,7 +255,7 @@ test('journeys: via works – without detour', co(function* (t) { t.ok(journey) const l = journey.legs.some(l => l.passed && l.passed.some(p => p.station.id === kastanienallee)) - t.ok(l, 'no stopover at Kastanienallee') + t.ok(l, 'Kastanienallee is not being passed') t.end() })) diff --git a/test/oebb.js b/test/oebb.js index a7f5d473..7427b6db 100644 --- a/test/oebb.js +++ b/test/oebb.js @@ -275,7 +275,7 @@ test('journeys: via works – with detour', co(function* (t) { t.ok(journey) const l = journey.legs.some(l => l.passed && l.passed.some(p => p.station.id === donauinselPassed)) - t.ok(l, 'no stopover at Donauinsel') + t.ok(l, 'Donauinsel is not being passed') t.end() })) @@ -298,7 +298,7 @@ test('journeys: via works – without detour', co(function* (t) { t.ok(journey) const l = journey.legs.some(l => l.passed && l.passed.some(p => p.station.id === museumsquartierPassed)) - t.ok(l, 'no stopover at Weihburggasse') + t.ok(l, 'Weihburggasse is not being passed') t.end() })) diff --git a/test/vbb.js b/test/vbb.js index 38b83298..778c432b 100644 --- a/test/vbb.js +++ b/test/vbb.js @@ -316,7 +316,7 @@ test('journeys: via works – with detour', co(function* (t) { t.ok(journey) const l = journey.legs.some(l => l.passed && l.passed.some(p => p.station.id === württembergallee)) - t.ok(l, 'no stopover at Württembergalle') + t.ok(l, 'Württembergalle is not being passed') t.end() })) @@ -337,7 +337,7 @@ test('journeys: via works – without detour', co(function* (t) { t.ok(journey) const l = journey.legs.some(l => l.passed && l.passed.some(p => p.station.id === kastanienallee)) - t.ok(l, 'no stopover at Kastanienallee') + t.ok(l, 'Kastanienallee is not being passed') t.end() }))