-
Notifications
You must be signed in to change notification settings - Fork 38
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
Conversation
client_test.go
Outdated
if err != nil { | ||
t.Error(err) | ||
} | ||
assert.Equal(t, 0, res.IndicesCreated(), "Expecting 1 index deleted") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IndicesDeleted
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ident
There was a problem hiding this comment.
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
func (qr *QueryResult) IndicesCreated() int { | ||
return qr.getStat(INDICES_CREATED) | ||
} | ||
|
||
func (qr *QueryResult) IndicesDeleted() int { | ||
return qr.getStat(INDICES_DELETED) | ||
} | ||
|
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
No description provided.