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

chore: Unit test coverage lex/iri.go,chunker/chunk.go #8515

Merged
merged 8 commits into from
Jan 10, 2023

Conversation

shivaji-kumowiz
Copy link
Contributor

Unit Tests written for:-
Package name:- chunker
File covered:- chunk.go
Functions covered:-
1] (*rdfChunker) Chunk()

Package name:- lex
File covered:- iri.go
Functions covered:-
1]isIRIRefChar()
2]HasUChars()
3]HasXChars()
4]isHex()

@CLAassistant
Copy link

CLAassistant commented Dec 14, 2022

CLA assistant check
All committers have signed the CLA.

@coveralls
Copy link

coveralls commented Dec 14, 2022

Coverage Status

Coverage: 64.476% (+0.2%) from 64.24% when pulling fd14326 on coverage_lex_iri into 9e4b288 on main.

chunker/chunk_test.go Outdated Show resolved Hide resolved
chunker/chunk_test.go Outdated Show resolved Hide resolved
lex/iri_test.go Outdated Show resolved Hide resolved
lex/iri_test.go Outdated Show resolved Hide resolved
lex/iri_test.go Outdated Show resolved Hide resolved
x/file_test.go Outdated Show resolved Hide resolved
x/file_test.go Outdated Show resolved Hide resolved
chunker/chunk_test.go Outdated Show resolved Hide resolved
chunker/chunk_test.go Outdated Show resolved Hide resolved
chunker/chunk_test.go Outdated Show resolved Hide resolved
x/file_test.go Outdated Show resolved Hide resolved
@matthewmcneely
Copy link
Member

@shivaji-kumowiz There is still this oddly formatted function in there... the blank lines on 286 & 289

image

chunker/chunk_test.go Outdated Show resolved Hide resolved
chunker/chunk_test.go Outdated Show resolved Hide resolved
chunker/chunk_test.go Outdated Show resolved Hide resolved
chunker/chunk_test.go Outdated Show resolved Hide resolved
chunker/chunk_test.go Outdated Show resolved Hide resolved
Copy link
Member

@mangalaman93 mangalaman93 left a comment

Choose a reason for hiding this comment

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

one more suggestion, looks good otherwise.

lex/iri_test.go Outdated Show resolved Hide resolved
lex/iri_test.go Outdated Show resolved Hide resolved
@mangalaman93 mangalaman93 merged commit e5a9ad8 into main Jan 10, 2023
@mangalaman93 mangalaman93 deleted the coverage_lex_iri branch January 10, 2023 03:33
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.

6 participants