ilai-deutel / kibi

A text editor in ≤1024 lines of code, written in Rust
Other
1.46k stars 83 forks source link

Added unit tests for cursor moving through editor #270

Closed BogdanPaul15 closed 9 months ago

BogdanPaul15 commented 9 months ago

This pull request adds some unit tests for cursor moving. Issue: #124

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (4e5450c) 42.92% compared to head (44bb7b9) 48.70%. Report is 13 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #270 +/- ## ========================================== + Coverage 42.92% 48.70% +5.78% ========================================== Files 10 11 +1 Lines 904 1043 +139 ========================================== + Hits 388 508 +120 - Misses 516 535 +19 ``` | [Flag](https://app.codecov.io/gh/ilai-deutel/kibi/pull/270/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ila%C3%AF+Deutel) | Coverage Δ | | |---|---|---| | [x86_64-apple-darwin](https://app.codecov.io/gh/ilai-deutel/kibi/pull/270/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ila%C3%AF+Deutel) | `50.24% <100.00%> (+7.32%)` | :arrow_up: | | [x86_64-pc-windows-gnu](https://app.codecov.io/gh/ilai-deutel/kibi/pull/270/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ila%C3%AF+Deutel) | `0.20% <0.00%> (?)` | | | [x86_64-unknown-linux-gnu](https://app.codecov.io/gh/ilai-deutel/kibi/pull/270/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ila%C3%AF+Deutel) | `50.14% <100.00%> (+7.33%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Ila%C3%AF+Deutel#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

ilai-deutel commented 9 months ago

@all-contributors please add @BogdanPaul15 for test

allcontributors[bot] commented 9 months ago

@ilai-deutel

I've put up a pull request to add @BogdanPaul15! :tada: