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

sds / haml-lint / 496 / 4
99%
main: 97%

Build:
Build:
LAST BUILD BRANCH: sds/cut-version
DEFAULT BRANCH: main
Ran 07 Jan 2018 04:52AM UTC
Files 79
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

07 Jan 2018 04:51AM UTC coverage: 99.58%. Remained the same
2.2, gemfiles/haml5.gemfile

push

travis-ci

sds
Make the ClassAttributeWithStaticValue more robust

Haml is extremely forgiving in its parsing, which leads to strange
errors being thrown by Haml-Lint when the parsing creates something we
weren't expecting. In this case, with a malformed set of attributes that
is still rendered by Haml, Haml-Lint was throwing an error and exiting.

By checking for the correct Haml structure as part of the inspection
predicate, we can prevent this error from happening and still yield
correct results.

1659 of 1666 relevant lines covered (99.58%)

291.45 hits per line

Source Files on job 496.4 (2.2, gemfiles/haml5.gemfile)
  • Tree
  • List 0
  • Changed 15
  • Source Changed 1
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 496
  • Travis Job 496.4
  • 5e729a20 on github
  • Prev Job for 2.2, gemfiles/haml5.gemfile on master (#491.4)
  • Next Job for 2.2, gemfiles/haml5.gemfile on master (#497.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