Skip to content

Commit

Permalink
Fix empty sentence test.
Browse files Browse the repository at this point in the history
  • Loading branch information
panaaj committed Jun 7, 2024
1 parent 2466737 commit b1237f4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test/RMB.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ describe('RMB', () => {

it("Doesn't choke on empty sentences", () => {
const delta = new Parser().parse('$ECRMB,,,,,,,,,,,,,*77')
should.equal(delta, null)
delta.updates[0].values.should.contain.an.item.with.property(
'path',
'navigation.courseRhumbline.nextPoint.position'
)
})
})

0 comments on commit b1237f4

Please sign in to comment.