Skip to content

Commit

Permalink
Fix GetCompletions_NoCompletionsFound test
Browse files Browse the repository at this point in the history
  • Loading branch information
micbou committed Jun 9, 2016
1 parent 907a4fc commit e681335
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ycmd/completers/rust/rust_completer.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ def _GetResponse( self, handler, request_data = None,

response.raise_for_status()

if response.status_code is http.client.NO_CONTENT:
if response.status_code == http.client.NO_CONTENT:
return None

return response.json()
Expand Down

0 comments on commit e681335

Please sign in to comment.