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

Enable chaining from StringBuilder.AppendSmart() and StringBuilder.AppendLineSmart() #452

Merged
merged 2 commits into from
Dec 4, 2024

Conversation

Klikini
Copy link
Contributor

@Klikini Klikini commented Dec 3, 2024

Fixes #451

@axunonb
Copy link
Member

axunonb commented Dec 3, 2024

That was fast, thanks. Would you please a unit test to make it complete?

Copy link

codecov bot commented Dec 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97%. Comparing base (ca6b424) to head (b2bd680).
Report is 1 commits behind head on main.

Additional details and impacted files
@@         Coverage Diff         @@
##           main   #452   +/-   ##
===================================
  Coverage    97%    97%           
===================================
  Files        96     96           
  Lines      3434   3434           
===================================
  Hits       3317   3317           
  Misses      117    117           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Klikini
Copy link
Contributor Author

Klikini commented Dec 4, 2024

@axunonb sure, I've added unit tests for chained usage of both methods.

Copy link
Member

@axunonb axunonb left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@axunonb axunonb merged commit 7eaca13 into axuno:main Dec 4, 2024
5 checks passed
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.

It would be nice if SmartExtensions methods returned the StringBuilder instead of void
2 participants