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

pelletier / go-toml / 494 / 2
94%
master: 94%

Build:
DEFAULT BRANCH: master
Ran 22 Dec 2017 11:26AM UTC
Files 9
Run time 0s
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

22 Dec 2017 11:24AM UTC coverage: 91.849% (+0.2%) from 91.609%
494.2

push

travis-ci

web-flow
Support for hex, oct, and bin integers (#205)

Add support for non-decimal integers. At the time of writing, this is an
unreleased backward-compatible feature of TOML:

```
  Non-negative integer values may also be expressed in hexadecimal, octal, or
  binary. In these formats, leading zeros are allowed (after the prefix). Hex
  values are case insensitive. Underscores are allowed between digits (but
  not between the prefix and the value).

  # hexadecimal with prefix `0x`
  hex1 = 0xDEADBEEF
  hex2 = 0xdeadbeef
  hex3 = 0xdead_beef

  # octal with prefix `0o`
  oct1 = 0o01234567
  oct2 = 0o755 # useful for Unix file permissions

  # binary with prefix `0b`
  bin1 = 0b11010110
```

Fixes #204

1803 of 1963 relevant lines covered (91.85%)

945.4 hits per line

Source Files on job 494.2
  • Tree
  • List 0
  • Changed 7
  • Source Changed 2
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 494
  • Travis Job 494.2
  • 861c4734 on github
  • Prev Job for on master (#492.1)
  • Next Job for on master (#497.2)
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