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

jbearer / SublimeScopeTree / 26
86%

Build:
DEFAULT BRANCH: master
Ran 14 Sep 2016 07:27PM UTC
Jobs 2
Files 11
Run time 39min
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
26

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.

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

473 of 530 relevant lines covered (89.25%)

1.78 hits per line

Jobs
ID Job ID Ran Files Coverage
1 26.1 (SUBLIME_TEXT_VERSION="3") 14 Sep 2016 07:27PM UTC 0
89.25
Travis Job 26.1
2 26.2 (SUBLIME_TEXT_VERSION="3") 14 Sep 2016 08:07PM UTC 0
89.25
Travis Job 26.2
Source Files on build 26
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Travis Build #26
  • 846aefb5 on github
  • Prev Build on master (#25)
  • Next Build on master (#27)
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