Skip to content

chore(test): add test cases for getIPsFromString#8433

Merged
dshekhar95 merged 4 commits intomainfrom
dshekhar95-addIpParsingTests
Dec 7, 2022
Merged

chore(test): add test cases for getIPsFromString#8433
dshekhar95 merged 4 commits intomainfrom
dshekhar95-addIpParsingTests

Conversation

@dshekhar95
Copy link
Copy Markdown
Contributor

@dshekhar95 dshekhar95 commented Nov 15, 2022

Problem

test cases missing for getIPsFromString

Solution

add test for empty string, error cases

@coveralls
Copy link
Copy Markdown

coveralls commented Nov 15, 2022

Coverage Status

Coverage increased (+0.01%) to 37.196% when pulling b701f59 on dshekhar95-addIpParsingTests into bc5f584 on main.

@dshekhar95 dshekhar95 changed the title chore(test): add test case for getIPsFromString passing empty string chore(test): add test cases for getIPsFromString Nov 15, 2022
Comment thread dgraph/cmd/alpha/run_test.go Outdated
Comment thread dgraph/cmd/alpha/run_test.go
Copy link
Copy Markdown
Contributor

@matthewmcneely matthewmcneely left a comment

Choose a reason for hiding this comment

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

Approved (following the format revert in run_test.go)

reverting unintended change
@dshekhar95 dshekhar95 merged commit 228bc09 into main Dec 7, 2022
@dshekhar95 dshekhar95 deleted the dshekhar95-addIpParsingTests branch December 7, 2022 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants