Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
derhuerst authored Nov 27, 2023
1 parent 3f4a9c8 commit e82fc19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/db-journey-additional-stopover.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ tap.test('parses a journey having a leg with an additional stopover', (t) => {

const stopoverRegular = stopovers[6]
const stopoverAdditional = stopovers[7]
t.notOk(!!stopoverRegular.additional, 'regular stopover has attribute additional')
t.ok(!!stopoverAdditional.additional, 'additional stopover doesn\'t have attribute additional')
t.notOk('additional' in stopoverRegular, 'regular stopover has attribute additional')
t.equal(stopoverAdditional.additional, true, 'additional stopover doesn\'t have attribute additional')
t.end()
})

0 comments on commit e82fc19

Please sign in to comment.