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

jshint / jshint / 2630
100%

Build:
DEFAULT BRANCH: master
Ran 25 Apr 2017 08:18PM UTC
Jobs 4
Files 13
Run time 5min
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
2630

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.

4 of 4 new or added lines in 1 file covered. (100.0%)

4009 of 4101 relevant lines covered (97.76%)

13615.71 hits per line

Jobs
ID Job ID Ran Files Coverage
1 2630.1 25 Apr 2017 08:18PM UTC 0
97.73
Travis Job 2630.1
2 2630.2 25 Apr 2017 08:19PM UTC 0
97.68
Travis Job 2630.2
3 2630.3 25 Apr 2017 08:24PM UTC 0
97.68
Travis Job 2630.3
4 2630.4 25 Apr 2017 08:23PM UTC 0
97.68
Travis Job 2630.4
Source Files on build 2630
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2630
  • c0838666 on github
  • Prev Build on master (#2629)
  • Next Build on master (#2631)
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

© 2025 Coveralls, Inc