Skip to content

Conversation

@jarebudev
Copy link
Contributor

This PR changes the spring boot starters so that if you are using them in development mode, you can now set the property to trim control structures to remove the whitespace. This enables you to produce the same output as seen in production if you are using the trimControlStructures option in the maven/gradle plugins to generate production templates. Also useful when writing unit tests for a rendered template so you don't have to cater for whitespace when asserting output.

@codecov
Copy link

codecov bot commented Aug 29, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.17%. Comparing base (d3f4f10) to head (5092623).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #480      +/-   ##
============================================
- Coverage     91.24%   91.17%   -0.07%     
+ Complexity     1224     1223       -1     
============================================
  Files            76       76              
  Lines          3174     3174              
  Branches        492      492              
============================================
- Hits           2896     2894       -2     
- Misses          168      169       +1     
- Partials        110      111       +1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@edward3h
Copy link
Collaborator

Seems reasonable to me. Thank you for your contribution.

@edward3h edward3h merged commit e1803ae into casid:main Aug 29, 2025
15 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.

2 participants