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

aperezdc / hipack-c / 34
92%

Build:
DEFAULT BRANCH: master
Ran 26 Jul 2015 07:55PM UTC
Jobs 2
Files 8
Run time 52s
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
34

push

travis-ci

aperezdc
Avoid writing too many comma separators for dictionaries

Some comma separators are not really needed, taking into account that
whitespace can also act as a separator. Normally dictionaries would be written
this way:

  # Normal mode
  person {
    name: "Peter",
    age: 32,
  },

  # Compact mode
  person{name:"Peter",age:32,},

This patch avoids the trailing commas in dictionaries: normal mode uses no
commas altogether, because the trailing newline character already acts as item
separator, and in compact mode it avoids the trailing comma in the last item.
With this patch applied, the output is:

  # Normal mode
  person {
    name: "Peter"
    age: 32
  }

  # Compact mode
  person{name:"Peter",age:32}

567 of 650 relevant lines covered (87.23%)

1785.22 hits per line

Jobs
ID Job ID Ran Files Coverage
3 34.3 (COVERAGE=true ASAN=false) 26 Jul 2015 07:55PM UTC 0
87.23
Travis Job 34.3
6 34.6 (COVERAGE=true ASAN=false) 26 Jul 2015 07:55PM UTC 0
87.23
Travis Job 34.6
Source Files on build 34
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #34
  • 23a1bb8c on github
  • Prev Build on master (#33)
  • Next Build on master (#35)
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