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

jshint / jshint / 2630 / 3
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 25 Apr 2017 08:24PM UTC
Files 13
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

25 Apr 2017 08:06PM UTC coverage: 97.683% (+0.001%) from 97.682%
2630.3

push

travis-ci

rwaldron
[[FIX]] Avoid crash when peeking past end of prog

The internal `peek` function may be used to request tokens beyond the
end of the program. Because multiple call sites expect the function to
consistently return an object value, the "end of program" token is be
returned in these cases.

However, this situation may occur in cases where the "end of program"
token is not the next token. The previous implementation of the function
would produce the `null` value in this event, violating callers'
expectation and resulting in runtime reference errors.

Update the internal `peek` function to consistently return the "end of
program" token when input has been exhausted--even when this is not the
next token.

4006 of 4101 relevant lines covered (97.68%)

3403.93 hits per line

Source Files on job 2630.3
  • Tree
  • List 0
  • Changed 6
  • Source Changed 1
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 2630
  • Travis Job 2630.3
  • c0838666 on github
  • Prev Job for on master (#2629.3)
  • Next Job for on master (#2631.3)
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