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

kensho-technologies / graphql-compiler / 111 / 1
94%
master: 89%

Build:
Build:
LAST BUILD BRANCH: interpreted_mode_v2
DEFAULT BRANCH: master
Ran 15 Aug 2017 06:39PM UTC
Files 27
Run time 1s
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

15 Aug 2017 06:32PM UTC coverage: 93.72%. First build
111.1

push

travis-ci

obi1kenobi
Fix a minor bug in the GraphQL formatter.

```
File /.../graphql_compiler/query_formatting/graphql_formatting.py", in leave_Directive
    arg = args.pop(arg_names.index(defined_arg))
IndexError: pop index out of range
```

This happened because the `args` and `arg_names` lists were expected to be parallel, but popping could happen in any order. The bug above is caused when the lists cease to be parallel, e.g. as follows:

```
********* before first pop, popping at index 0

['op_name: "="', 'value: ["$parameter"]']
['op_name', 'value']

********* before second pop, popping at index 1

['value: ["$parameter"]']
['op_name', 'value']

********* IndexError since there was no index
```

1776 of 1895 relevant lines covered (93.72%)

0.94 hits per line

Source Files on job 111.1
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 111
  • Travis Job 111.1
  • eb6258dc on github
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