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

d00rman / restbase / 260 / 1
87%
master: 84%

Build:
Build:
LAST BUILD BRANCH: parsoidproxy/mirror-html2html
DEFAULT BRANCH: master
Ran 31 Oct 2015 09:42PM UTC
Files 16
Run time 0s
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

31 Oct 2015 09:27PM UTC coverage: 87.445%. First build
260.1

push

travis-ci

d00rman
Revisions mod: Bug fix: Compare two revisions properly

Currently, when checking the equality of two revisions, attribute values
are compared using the `!==` operator. However, the string
representations of the `timestamp` attribute always differ because of a
small discrepancy in the way storage and the MW API stringify them: one
includes milliseconds while the other one doesn't, leading RESTBase to
believe no two revisions are equal.

This commit corrects that by special-casing the `timestamp` attribute
and casting both values to Date before comparison. Also, Arrays are
differently checked for equivalence (number of elements, then each
element separately).

1595 of 1824 relevant lines covered (87.45%)

125.46 hits per line

Source Files on job 260.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 260
  • Travis Job 260.1
  • 684b6e2e on github
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