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

JuliaLang / DataStructures.jl / 768 / 2
95%
master: 95%

Build:
DEFAULT BRANCH: master
Ran 17 Jan 2017 06:40PM UTC
Files 31
Run time 2s
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

17 Jan 2017 06:01PM UTC coverage: 94.571% (+2.9%) from 91.673%
768.2

push

travis-ci

web-flow
<a href="https://github.com/JuliaLang/DataStructures.jl/commit/<a class=hub.com/JuliaLang/DataStructures.jl/commit/f322f20ac0f38e7de7220cb8138d89ac2387409c">f322f20ac<a href="https://github.com/JuliaLang/DataStructures.jl/commit/f322f20ac0f38e7de7220cb8138d89ac2387409c">&quot;&gt;RFC: revert &amp;quot;revert remove HashDict&amp;quot; (#252)

* Revert &amp;quot;Revert &amp;quot;Remove HashDict&quot;&quot;

This reverts commit </a><a class="double-link" href="https://github.com/JuliaLang/DataStructures.jl/commit/<a class="double-link" href="https://github.com/JuliaLang/DataStructures.jl/commit/4a9edb3aadda8d58f2eb97cb73b755fd4ddc917a">4a9edb3aa</a>">4a9edb3aa</a><a href="https://github.com/JuliaLang/DataStructures.jl/commit/f322f20ac0f38e7de7220cb8138d89ac2387409c">.

* Fix getindex for DefaultDictBase

* Previously, `getindex` always called &quot;get!(h::Associative, key, default)&quot;
  to return a default value.
* When DefaultDict was based on HashDict (now deleted) and the
  default value was calculated using a function, a version of this
  function with signature

     get!(h::HashDict, key, default::Base.Callable)

  was called.
* Base.Dict has no such function (nor does DataStructures.OrderedDict),
  so the (incorrect) value returned was the function object which
  generated the default value, not the default value itself.
* Additionally, there were no tests for DefaultDicts with defaults
  generated by a function.

* Fixed so that getindex calls the `do` function form of `get!` when
  appropriate
* Added tests for DefaultDicts with defaults generated by functions

* Restore functionality to push tuples onto DefaultDicts

* Used by Gadfly

2073 of 2192 relevant lines covered (94.57%)

239689.01 hits per line

Source Files on job 768.2
  • Tree
  • List 0
  • Changed 11
  • Source Changed 3
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 768
  • Travis Job 768.2
  • f322f20a on github
  • Prev Job for on master (#761.2)
  • Next Job for on master (#774.4)
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