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

abs-lang / abs / 528 / 1
71%
master: 63%

Build:
Build:
LAST BUILD BRANCH: 2.8.x
DEFAULT BRANCH: master
Ran 10 May 2019 10:00PM UTC
Files 7
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

10 May 2019 09:55PM UTC coverage: 69.566% (-0.2%) from 69.764%
CONTEXT=abs

push

travis-ci-com

odino
hash.str() should convert to a valid JSON string, closes #197

The main issue here is that when we convert to a string, we use the
raw value of the AST object. The raw value for a string is `string`,
but that is not valid json (should be `"string"`).

Therefore, I added a new Json() method on all AST objects that
should return a compatible JSON string, and it's used when we
want to convert an hash (and all its key-values) to strings.

```
⧐  {"string": "value", "array": [1,2,3,{"hash": [1,2,null]}]}.str()

{"array": [1, 2, 3, {"hash": [1, 2, null]}], "string": "value"}
```

2455 of 3529 relevant lines covered (69.57%)

38.17 hits per line

Source Files on job 528.1 (CONTEXT=abs)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 289
  • Travis Job 528.1
  • acfc803f on github
  • Prev Job for CONTEXT=abs on 1.4.x (#510.1)
  • Next Job for CONTEXT=abs on 1.4.x (#537.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