• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hydralang / hydra / 15 / 1
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 24 May 2019 05:02AM UTC
Files 23
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

24 May 2019 05:00AM UTC coverage: 100.0%. Remained the same
GO111MODULE=on

push

travis-ci

klmitch
Ensure we don't stop when newlines follow each other

In testing the lexer, it was discovered that if a bare newline appeared
at the beginning of the file being processed, or if a newline followed
another newline, the Next() method would return nil.  This was traced,
finally, to a "break" after generating a newline token; problem is,
newline tokens may be elided in those circumstances.  The correct thing to
do is to continue: if the newline token was not elided, the loop will exit
because the token queue now has a token on it, but if it was elided, the
loop will re-execute and recognize the next token.

This commit includes a failing test for this condition, to prevent future
regressions.

1397 of 1397 relevant lines covered (100.0%)

9.34 hits per line

Source Files on job 15.1 (GO111MODULE=on)
  • Tree
  • List 0
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14
  • Travis Job 15.1
  • 27887d96 on github
  • Prev Job for GO111MODULE=on on master (#14.1)
  • Next Job for GO111MODULE=on on master (#16.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc