Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added 1.99.7 reply format #24

Merged
merged 2 commits into from
Jan 20, 2020
Merged

added 1.99.7 reply format #24

merged 2 commits into from
Jan 20, 2020

Conversation

DvirDukhan
Copy link
Contributor

No description provided.

@DvirDukhan DvirDukhan requested a review from swilly22 January 19, 2020 15:44
client_test.go Outdated
if err != nil {
t.Error(err)
}
assert.Equal(t, 0, res.IndicesCreated(), "Expecting 1 index deleted")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IndicesDeleted

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

query_result.go Outdated
@@ -17,6 +17,8 @@ const (
RELATIONSHIPS_DELETED string = "Relationships deleted"
PROPERTIES_SET string = "Properties set"
RELATIONSHIPS_CREATED string = "Relationships created"
INDICES_CREATED string = "Indices created"
INDICES_DELETED string = "Indices deleted"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ident

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks ok at my machine. re-tabbed

Comment on lines +356 to +363
func (qr *QueryResult) IndicesCreated() int {
return qr.getStat(INDICES_CREATED)
}

func (qr *QueryResult) IndicesDeleted() int {
return qr.getStat(INDICES_DELETED)
}

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this really all there's to it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

@codecov
Copy link

codecov bot commented Jan 19, 2020

Codecov Report

Merging #24 into master will increase coverage by 0.23%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
+ Coverage   71.63%   71.86%   +0.23%     
==========================================
  Files           7        7              
  Lines         483      487       +4     
==========================================
+ Hits          346      350       +4     
  Misses        124      124              
  Partials       13       13
Impacted Files Coverage Δ
query_result.go 78.53% <100%> (+0.45%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3430ace...31377fc. Read the comment docs.

@swilly22 swilly22 merged commit 93518c5 into master Jan 20, 2020
@swilly22 swilly22 deleted the comply_to_1.99.7_reply_format branch January 20, 2020 05:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants