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

jbearer / SublimeScopeTree / 26 / 2
86%
master: 86%

Build:
DEFAULT BRANCH: master
Ran 14 Sep 2016 08:07PM UTC
Files 11
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

14 Sep 2016 07:25PM UTC coverage: 89.245% (+0.2%) from 88.996%
SUBLIME_TEXT_VERSION="3"

push

travis-ci

jbearer
Fix false positive in test_tree.Insert.test_permutations

The code intended to make a copy of the empty self.tree to use
in building the correct tree, and then make some inserts into
self.tree and compare with the copy. Instead, the correct tree
just pointed at self.tree, so that whatever happened to self.tree,
it always compared equal to the correct tree.

Changing this revealed a bug: when inserting a new scope, if the
new scope contains an existing scope, it takes the place of that
scope and adds it as a child. However, scopes before and after
the new child in the original list may also be contained by the
new scope. This is fixed by finding all of the scopes in the
original list which are contained by the new scope, removing them
from the original list, and adding them as children of the new scope.

473 of 530 relevant lines covered (89.25%)

0.89 hits per line

Source Files on job 26.2 (SUBLIME_TEXT_VERSION="3")
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 26
  • Travis Job 26.2
  • 846aefb5 on github
  • Prev Job for SUBLIME_TEXT_VERSION="3" on master (#25.2)
  • Next Job for SUBLIME_TEXT_VERSION="3" on master (#27.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