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

fix(table): fix unit tests broken due to rounding #419

Merged
merged 1 commit into from
Aug 20, 2023

Conversation

joshka
Copy link
Member

@joshka joshka commented Aug 20, 2023

The merge of the table unit tests after the rounding layout fix was not
rebased correctly, this addresses the broken tests, makes them more
concise while adding comments to help clarify that the rounding behavior
is working as expected.

Fixes the issue mentioned in #395 (comment)

The merge of the table unit tests after the rounding layout fix was not
rebased correctly, this addresses the broken tests, makes them more
concise while adding comments to help clarify that the rounding behavior
is working as expected.
@codecov
Copy link

codecov bot commented Aug 20, 2023

Codecov Report

Merging #419 (8b68e2e) into main (d2429bc) will increase coverage by 0.15%.
Report is 4 commits behind head on main.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #419      +/-   ##
==========================================
+ Coverage   86.13%   86.28%   +0.15%     
==========================================
  Files          40       40              
  Lines        9239     9343     +104     
==========================================
+ Hits         7958     8062     +104     
  Misses       1281     1281              
Files Changed Coverage Δ
src/layout.rs 96.33% <100.00%> (+0.05%) ⬆️
src/widgets/paragraph.rs 99.81% <100.00%> (ø)
src/widgets/table.rs 94.51% <100.00%> (+1.33%) ⬆️

@joshka joshka added this pull request to the merge queue Aug 20, 2023
Merged via the queue into ratatui-org:main with commit dc55211 Aug 20, 2023
30 checks passed
@joshka joshka deleted the layout-fix-table-rounding branch August 20, 2023 01:21
@joshka joshka added this to the v0.23.0 milestone Aug 21, 2023
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

2 participants