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

hydralang / hydra / 15
100%

Build:
DEFAULT BRANCH: master
Ran 24 May 2019 05:02AM UTC
Jobs 1
Files 23
Run time 2s
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

pending completion
15

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

Jobs
ID Job ID Ran Files Coverage
1 15.1 (GO111MODULE=on) 24 May 2019 05:02AM UTC 0
100.0
Travis Job 15.1
Source Files on build 15
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #15
  • 27887d96 on github
  • Prev Build on master (#14)
  • Next Build on master (#16)
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