clarify code comments

This commit is contained in:
Julius Tens 2018-03-16 14:38:08 +01:00
parent 9b315ec719
commit 51e41ba4e5
3 changed files with 6 additions and 6 deletions

View file

@ -233,7 +233,7 @@ test('journeys: via works with detour', co(function* (t) {
t.ok(journey) t.ok(journey)
const l = journey.legs.some(l => l.passed && l.passed.some(p => p.station.id === württembergallee)) 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() t.end()
})) }))
@ -254,7 +254,7 @@ test('journeys: via works without detour', co(function* (t) {
t.ok(journey) t.ok(journey)
const l = journey.legs.some(l => l.passed && l.passed.some(p => p.station.id === kastanienallee)) 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() t.end()
})) }))

View file

@ -274,7 +274,7 @@ test('journeys: via works with detour', co(function* (t) {
t.ok(journey) t.ok(journey)
const l = journey.legs.some(l => l.passed && l.passed.some(p => p.station.id === donauinselPassed)) 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() t.end()
})) }))
@ -297,7 +297,7 @@ test('journeys: via works without detour', co(function* (t) {
t.ok(journey) t.ok(journey)
const l = journey.legs.some(l => l.passed && l.passed.some(p => p.station.id === museumsquartierPassed)) 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() t.end()
})) }))

View file

@ -316,7 +316,7 @@ test('journeys: via works with detour', co(function* (t) {
t.ok(journey) t.ok(journey)
const l = journey.legs.some(l => l.passed && l.passed.some(p => p.station.id === württembergallee)) 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() t.end()
})) }))
@ -337,7 +337,7 @@ test('journeys: via works without detour', co(function* (t) {
t.ok(journey) t.ok(journey)
const l = journey.legs.some(l => l.passed && l.passed.some(p => p.station.id === kastanienallee)) 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() t.end()
})) }))