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

JuliaLang / julia / #36977 / 1
78%
master: 78%

Build:
DEFAULT BRANCH: master
Ran 30 Aug 2021 09:40AM UTC
Files 373
Run time 1073min
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

30 Aug 2021 05:12AM UTC coverage: 80.531% (+0.5%) from 80.045%
#36977.1

push

local

web-flow
handle the condition in `in` when `step(r::AbstractRange)` equals 0  (#41974)

* handle the condition in `in` when `step` equals 0

Using `in` when `step(r::AbstractRange) == 0` results in an error.

Handle this case by using boolean logic for both the definitions to
which this case applies (`x::Real` and `x::AbstractChar`).
First, check if the step equals zero and if `x` (the value) equals the
reference value before performing the invalid `mod` operation.

Signed-off-by: Anant Thazhemadam <anant.thazhemadam@gmail.com>

* add tests for `StepRangeLen` when step equals 0

Add two tests (one which passes and another which fails) each,
for `in` with `StepRangeLen` that has step = 0, where `x` is of
type `Real` and `AbstractChar`.

Signed-off-by: Anant Thazhemadam <anant.thazhemadam@gmail.com>

62318 of 77384 relevant lines covered (80.53%)

2611978.59 hits per line

Source Files on job #36977.1
  • Tree
  • List 0
  • Changed 234
  • Source Changed 5
  • Coverage Changed 233
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 36977
  • c9140623 on github
  • Prev Job for on master (##36976.1)
  • Next Job for on master (##36978.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