From 51e41ba4e59f91dce2108df0cb5216dd2345ca1e 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 5af0b434..0c623d73 100644 --- a/test/db.js +++ b/test/db.js @@ -233,7 +233,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() })) @@ -254,7 +254,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 84e9be23..62e6412b 100644 --- a/test/oebb.js +++ b/test/oebb.js @@ -274,7 +274,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() })) @@ -297,7 +297,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() }))