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

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

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

pending completion
111

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

Jobs
ID Job ID Ran Files Coverage
1 111.1 15 Aug 2017 06:39PM UTC 0
93.72
Travis Job 111.1
Source Files on build 111
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #111
  • 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