clarify code comments

This commit is contained in:
Julius Tens 2018-03-16 14:38:08 +01:00
parent 803b4573c1
commit 361758c578
3 changed files with 6 additions and 6 deletions

View file

@ -234,7 +234,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()
})) }))
@ -255,7 +255,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

@ -275,7 +275,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()
})) }))
@ -298,7 +298,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()
})) }))