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

gajus / table / 195
100%

Build:
DEFAULT BRANCH: master
Ran 30 Jul 2020 04:28AM UTC
Jobs 3
Files 21
Run time 24s
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
195

push

travis-ci

web-flow
fix: alignCenter (#115) (#116)

The method for alignCenter is checking
to see if halfWidth (rather than width)
is even. This worked with the existing test
case because the container width given is 6
minus string width (2) is 4. Divide that in half
and you have an even number.

My test case makes the container width 8.
So available width is 6. Divide that in half
you get an odd number. So the odd logic triggers
padding 3 to the left and 4 to the right.

This commit fixes the minor defect.

68 of 93 branches covered (73.12%)

Branch coverage included in aggregate %.

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

172 of 236 relevant lines covered (72.88%)

16.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 195.1 30 Jul 2020 04:28AM UTC 0
72.95
Travis Job 195.1
2 195.2 30 Jul 2020 04:28AM UTC 0
72.95
Travis Job 195.2
3 195.3 30 Jul 2020 04:28AM UTC 0
72.95
Travis Job 195.3
Source Files on build 195
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #195
  • fc2c35bd on github
  • Prev Build on master (#193)
  • Next Build on master (#201)
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