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

Add shorter helper for string assertion #22

Merged
merged 1 commit into from Jul 23, 2023
Merged

Add shorter helper for string assertion #22

merged 1 commit into from Jul 23, 2023

Conversation

vearutop
Copy link
Member

No description provided.

@github-actions
Copy link

Lines Of Code

Language Files Lines Code Comments Blanks Complexity Bytes
Go 5 838 (+9) 578 (+6) 82 (+1) 178 (+2) 165 (+1) 20.2K (+347B)
Go (test) 6 636 (+1) 538 (+1) 22 76 2 16.4K (+51B)

@github-actions
Copy link

Go API Changes

# github.com/swaggest/assertjson
## compatible changes
EqMarshal: added

# summary
Inferred base version: v1.8.1
Suggested version: v1.9.0

@github-actions
Copy link

Unit Test Coverage

total: (statements) 91.6%
changed lines: (statements) 100.0%

Coverage of changed lines
File Function Coverage
Total 100.0%
equal.go 100.0%
equal.go:360 EqMarshal 100.0%
Coverage diff with base branch
File Function Base Coverage Current Coverage
Total 91.5% 91.6% (+0.1%)
github.com/swaggest/assertjson/equal.go EqMarshal no function 100.0%

@codecov
Copy link

codecov bot commented Jul 23, 2023

Codecov Report

Merging #22 (c2f3089) into master (b42051d) will decrease coverage by 0.30%.
The diff coverage is 77.77%.

@@            Coverage Diff             @@
##           master      #22      +/-   ##
==========================================
- Coverage   85.29%   85.00%   -0.30%     
==========================================
  Files           4        4              
  Lines         272      280       +8     
==========================================
+ Hits          232      238       +6     
- Misses         22       23       +1     
- Partials       18       19       +1     
Flag Coverage Δ
unittests 85.00% <77.77%> (-0.30%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
json5/json5.go 75.00% <66.66%> (-3.95%) ⬇️
equal.go 89.43% <100.00%> (+0.22%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@vearutop vearutop merged commit a3d8329 into master Jul 23, 2023
6 of 8 checks passed
@vearutop vearutop deleted the eq-marshal branch July 23, 2023 10:03
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.

None yet

1 participant